Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Bower for javascript package manager #33

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

alefbt
Copy link
Contributor

@alefbt alefbt commented Jul 16, 2014

Bower is grate way to get manage javascript packages.
I believe that will be easier just write in command line "bower install"
instead searching the component on internet

You can see examples @ http://bower.io/

@dpocock
Copy link
Member

dpocock commented Aug 15, 2014

I am trying to ensure that JSCommunicator can be packaged on platforms like Debian and Ubuntu

This means that the preferred way to install and minify the code can only depend on tools that exist in Debian. bower is not currently included in Debian, http://packages.debian.org/bower does not show anything. There are similar problems with grunt.

However, I am happy to include the artifacts for people who want to use bower, can you just tweak your pull request so that the documentation suggests that bower is an optional tool rather than the only way to install?

@alefbt
Copy link
Contributor Author

alefbt commented Aug 15, 2014

bower is package of NPM (node js)

I have debian and it works :-)

to install bower you need node.js/ npm ( https://packages.debian.org/npm)

$ apt-get install nodejs npm
$ npm install -g bower

On Fri, Aug 15, 2014 at 11:12 AM, Daniel Pocock [email protected]
wrote:

I am trying to ensure that JSCommunicator can be packaged on platforms
like Debian and Ubuntu

This means that the preferred way to install and minify the code can only
depend on tools that exist in Debian. bower is not currently included in
Debian, http://packages.debian.org/bower does not show anything. There
are similar problems with grunt.

However, I am happy to include the artifacts for people who want to use
bower, can you just tweak your pull request so that the documentation
suggests that bower is an optional tool rather than the only way to install?


Reply to this email directly or view it on GitHub
#33 (comment)
.

Regards,
Yehuda Korotkin

http://www.korotkin.co.il/

web www.korotkin.co.il

mobile +972 (50) 414-6444

email [email protected]

@dpocock
Copy link
Member

dpocock commented Aug 15, 2014

I understand this works on Debian

However, we have a rule that when we build official Debian packages, we actually compile them on a machine without any network connection. It can not download any Node packages onto the machine, it can only use tools that exist in existing Debian packages. This is how we make sure the full set of packages in Debian can be reproduced even if the version of some package in NPM goes away or changes.

@alefbt
Copy link
Contributor Author

alefbt commented Aug 15, 2014

I see... i that case you right.

However, i think it's same dependancy issue like JQuery / ArbiterJS

On Fri, Aug 15, 2014 at 11:31 AM, Daniel Pocock [email protected]
wrote:

I understand this works on Debian

However, we have a rule that when we build official Debian packages, we
actually compile them on a machine without any network connection. It can
not download any Node packages onto the machine, it can only use tools that
exist in existing Debian packages. This is how we make sure the full set of
packages in Debian can be reproduced even if the version of some package in
NPM goes away or changes.


Reply to this email directly or view it on GitHub
#33 (comment)
.

Regards,
Yehuda Korotkin

http://www.korotkin.co.il/

web www.korotkin.co.il

mobile +972 (50) 414-6444

email [email protected]

@dpocock
Copy link
Member

dpocock commented Aug 15, 2014

JQuery is available as a Debian package:
http://packages.debian.org/libjs-jquery

I made packages of ArbiterJS and jquery-i18n-properties so they would be official packages too, so the entire set of dependencies is available in Debian.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants