Code Monkey home page Code Monkey logo

Comments (7)

xiwcx avatar xiwcx commented on May 27, 2024

bower install [email protected]:miromannino/Justified-Gallery.git#v2.1 does the trick.

just need the 'v'.

from justified-gallery.

miromannino avatar miromannino commented on May 27, 2024

Can somebody confirms if it works in 3.0.0-RC2 ?

from justified-gallery.

jasny avatar jasny commented on May 27, 2024

No, it doesn't work. It's a matter of naming the git tags.

Bower uses tags only and searched for tags in the format x.y.z (called Semantic versioning aka semver). That's why version 1.0.4 is found, but not V2.1. Brower doesn't look at branches.

$ bower info miromannino/Justified-Gallery
bower Justified-Gallery#*   not-cached git://github.com/miromannino/Justified-Gallery.git#*
bower Justified-Gallery#*      resolve git://github.com/miromannino/Justified-Gallery.git#*
bower Justified-Gallery#*     download https://github.com/miromannino/Justified-Gallery/archive/1.0.4.tar.gz
bower Justified-Gallery#*      extract archive.tar.gz
bower Justified-Gallery#*     resolved git://github.com/miromannino/Justified-Gallery.git#1.0.4

{
  name: 'Justified-Gallery',
  homepage: 'https://github.com/miromannino/Justified-Gallery',
  version: '1.0.4'
}

Available versions:
  - 1.0.4
  - 1.0.3
  - 1.0.2

You can request info for a specific version with 'bower info miromannino/Justified-Gallery#<version>'

Also, would help if you could define the package by creating a bower.json file. That would allow registration of the package, after which you can simply install it with bower install justified-gallery.

from justified-gallery.

srtfisher avatar srtfisher commented on May 27, 2024

Until 3.0 is final and you do make a tag for it, I was just doing it by commit.

"justified-gallery": "[email protected]:miromannino/Justified-Gallery.git#6fc8c24185e1b2b9310db11e38b36dfc2f736205"

from justified-gallery.

jasny avatar jasny commented on May 27, 2024

Yes, you can install it with bower using the git URL. This was always working. So you that really doesn't test this bug.

This issue is about incorrect tag formatting for versions 2.x. It can only be solved by creating a new tag.

from justified-gallery.

miromannino avatar miromannino commented on May 27, 2024

I created a tag for 3.0.1 and 3.0.0, and renamed the old version tags.

Someone can confirm that now it's all right? So I can close the issue.

from justified-gallery.

jasny avatar jasny commented on May 27, 2024

Looks good 😄

$ bower info miromannino/Justified-Gallery
bower Justified-Gallery#*       cached git://github.com/miromannino/Justified-Gallery.git#3.0.1
bower Justified-Gallery#*     validate 3.0.1 against git://github.com/miromannino/Justified-Gallery.git#*

{
  name: 'justifiedGallery',
  version: '3.0.1',
  homepage: 'http://miromannino.com/projects/justified-gallery/',
  authors: [
    'Miro Mannino <[email protected]>'
  ],
  description: 'This is a JQuery plugin that allows you to create an high quality justified gallery of images. Fill all the spaces!',
  main: [
    'dist/js/jquery.justifiedGallery.js',
    'dist/css/justifiedGallery.css'
  ],
  keywords: [
    'gallery',
    'justified',
    'image',
    'layout',
    'flickr',
    'google'
  ],
  license: 'MIT',
  ignore: [
    '**/.*',
    'node_modules',
    'bower_components',
    'test'
  ]
}

Available versions:
  - 3.0.1
  - 3.0.0
  - 2.0.0
  - 1.0.4
  - 1.0.3
  - 1.0.2

from justified-gallery.

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.