Closed petermichaux closed 11 years ago
:+1:
:+1:
Unfortunately I'm finding the Bower documentation too brief for me. I'm baffled.
The Maria project on GitHub (i.e. this project) contains only source code. There are no built files included in this repository and there won't be any built files in the repository. Where can I put built release version outside of this GitHub repository and then register them with Bower?
If Bower uses GitHub as its repository, how does bower know how to find a certain version of a package if the repository keeps evolving to new version? Does it look through the history of the repository?
For now you need to put the built files in the repo. You can of course create a new repo for just built files and bower.json and tag that.
To register a new package, there must be a valid manifest JSON in the current working directory, your package must be available at a Git endpoint (e.g., GitHub), and it should use semver Git tags.
We're working on a way to be able to publish packages into a hosted solution, much like npm.
I've created another repository on GitHub just for bower distribution. I'm trying the following command without success.
~/src/maria-component $ bower register maria git@github.com:petermichaux/maria-component.git
Registering a package will make it visible and installable via the registry.
Proceed (y/n)? y
bower error Incorrect format
@petermichaux Try the anonymous git access:
bower register maria git://github.com/petermichaux/maria-component.git
Thanks but dammit I screwed up with this command
$ bower register maria git://github.com:petermichaux/maria-component.git
which does not work. That colon should have been a slash.
$ bower install maria
bower cloning git://github.com:petermichaux/maria-component.git
bower caching git://github.com:petermichaux/maria-component.git
bower error status code of git: 128
There were errors, here's a summary of them:
- maria status code of git: 128
fatal: Unable to look up github.com (port petermichaux) (nodename nor servname provided, or not known)
Can someone fix this in the bower registry?
Currently in Bower purgatory.
https://github.com/twitter/bower/issues/120#issuecomment-16298455
renamed the shim repository to
https://github.com/petermichaux/maria-bower
Still waiting for the Bower folks to delete Maria from their registry so I can register it again properly.
Marking this as a high priority issue.
Bower support is getting more important every day. I'll make this issue blocking for 1.0.0 release.
Whoa! 20 days!! Bower sure is clogged up with this issue which is making it virtually useless. Seems like no one is helping maintain their repository and package maintainers cannot do it themselves.
I screwed it up again. It has been so long that I forgot what I was doing. I hope this doesn't mean another month. :-S
The command I want to use is
bower register maria git://github.com/petermichaux/maria-bower.git
https://github.com/twitter/bower