chocspec's Introduction
chocspec's People
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.
- 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
- 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 - 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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.