Git Product home page Git Product logo

Comments (14)

passy avatar passy commented on June 2, 2024

👍

from maria.

sindresorhus avatar sindresorhus commented on June 2, 2024

👍

from maria.

petermichaux avatar petermichaux commented on June 2, 2024

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?

from maria.

sindresorhus avatar sindresorhus commented on June 2, 2024

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.

from maria.

petermichaux avatar petermichaux commented on June 2, 2024

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 [email protected]:petermichaux/maria-component.git
Registering a package will make it visible and installable via the registry.
Proceed (y/n)? y
bower error Incorrect format

from maria.

passy avatar passy commented on June 2, 2024

@petermichaux Try the anonymous git access:

bower register maria git://github.com/petermichaux/maria-component.git

from maria.

petermichaux avatar petermichaux commented on June 2, 2024

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?

from maria.

petermichaux avatar petermichaux commented on June 2, 2024

bower/bower#390

from maria.

petermichaux avatar petermichaux commented on June 2, 2024

Currently in Bower purgatory.

bower/bower#120 (comment)

from maria.

petermichaux avatar petermichaux commented on June 2, 2024

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.

from maria.

petermichaux avatar petermichaux commented on June 2, 2024

Marking this as a high priority issue.

from maria.

petermichaux avatar petermichaux commented on June 2, 2024

Bower support is getting more important every day. I'll make this issue blocking for 1.0.0 release.

from maria.

petermichaux avatar petermichaux commented on June 2, 2024

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.

from maria.

petermichaux avatar petermichaux commented on June 2, 2024

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

from maria.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.