GithubHelp home page GithubHelp logo

chocspec's People

Contributors

dtgm avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

chocspec's Issues

packageSourceUrl usage

packageSourceUrl is a new nuspec XML element required to be a URL in relation to nupkg's source, specifically the repository where files used to create the nupkg resides.

ferventcoder prefers packageSourceUrl to point to repo base URL, e.g.

https://github.com/ferventcoder/chocolatey-packages

Because if it changes, the link will be wrong
The lowest common denominator is to get folks to the repo, they should be able to get to the package files
Which brings up an important distinction - the link is for all the files, not just the nuspec
So technically it would be to the folder, not all the way to the nuspec. ๐Ÿ˜‰
I'm happy with any appropriate link that gets me to the files

dtgm contests this:

  • unlikely for link path to change
  • user could still identify repo source from broken link and "t nuspec"

dtgm prefers packageSourceUrl to repo specific URL containing the source files, e.g.

https://github.com/ferventcoder/chocolatey-packages/tree/master/automatic/_output/foobar2000/1.3.6

However there are additional issues with this method as well.

  1. The above URL may not necessarily be the exact files used to build the nupkg since the URL simply points to the latest commit tree, in this case: https://github.com/ferventcoder/chocolatey-packages/tree/e4f26c9e3982768cc60a0cb12be09780c4e2f146/automatic/_output/foobar2000/1.3.6
  2. a. Chocolatey,org packages are immutable once approved. Once this happens there shouldn't be any additional commits made to the files in that specific version directory.
    b. Additionally, given git is a revision control system, it makes more sense for packages not to have a version subdir and track versions within git commit comments instead.
    c. https://github.com/ferventcoder/chocolatey-packages/tree/master/automatic/_output/foobar2000
  3. The files in tree/master/automatic/_output/foobar2000/1.3.6 are sourced from tree/master/automatic/foobar2000/

Options:

https://github.com/ferventcoder/chocolatey-packages
https://github.com/ferventcoder/chocolatey-packages/tree/master/automatic/foobar2000
https://github.com/ferventcoder/chocolatey-packages/tree/master/automatic/_output/foobar2000
https://github.com/ferventcoder/chocolatey-packages/tree/master/automatic/_output/foobar2000/1.3.6

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.