Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unique pkg id for each program versions (e.g. redistributables, VS, etc) #172

Closed
dtgm opened this issue Mar 31, 2016 · 2 comments
Closed

Comments

@dtgm
Copy link
Owner

dtgm commented Mar 31, 2016

Currently, some programs have a different package ID for each version.

Examples of multiple packages for programs

dotnet/netfx framework packages

also, (not sure how these are diff from above)

Microsoft Visual C++ redistributables

duplicates?

Visual Studio

duplicates?

related:

Why not consolidate?

Disregarding that these are probably unnecessary duplicates, packages like:

Should definitely be consolidated into a single vs2013 package

But from there, how to handle versions?

Option 1 -- metapackage

  • visualstudio == metapackage (not fully implemented yet)
  • dynamically choose version and types (community/premium/professional/ultimate) via "undecided method" similar to FOO/FOO.install/FOO.portable

Option 2 -- master pkg

  • Single package for all versions and types.
  • Choose version and release type via --package-parameters

choco install visualstudio --params '/2013 /professional'
choco install visualstudio --params '/version=2013 /release=professional'

Option 3 -- master type

  • Single package for all release types.
  • Choose version via --package-parameters

choco install visualstudio-professional --params '/2013'
choco install visualstudio-professional --params '/version=2013'

Option 4 -- master major version

  • Single package for all versions.
  • Choose release type via --package-parameters

choco install visualstudio2013 --params '/professional'
choco install visualstudio2013 --params '/release=professional'

Standardize package naming

Programs

  • visual-studio
  • visualstudio
  • vs

Examples:

  • visual-studio-professional
  • visualstudio-professional
  • vs-professional

Release type

Also long-hand or short-hand for release types (if used):

long-hand short-hand
community comm
express exp
premium prem
professional pro
ultimate ult

Final question (hard)

Which would be best practice?

  • most intuitive
  • maximum benefits
  • minimal disadvantages
@tunisiano187
Copy link
Contributor

@gep13 , this seems OK in the version 0.10.5+
so i think you can close.
thx

@gep13
Copy link
Collaborator

gep13 commented Sep 21, 2020

@tunisiano187 this is a good reference issue regarding duplicate packages etc, but I agree, I don't think there is anything to be done here directly.

@gep13 gep13 closed this as completed Sep 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants