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

Support a collection of packages #156

Closed
denelon opened this issue May 15, 2020 · 8 comments
Closed

Support a collection of packages #156

denelon opened this issue May 15, 2020 · 8 comments
Labels
Issue-Feature This is a feature request for the Windows Package Manager client. Resolution-Duplicate Issue is a duplicate

Comments

@denelon
Copy link
Contributor

denelon commented May 15, 2020

As a developer I want to be able to specify a set of packages for the Package Manager to install.

Ideally this would allow a single file to be able to drive a more complex scenario that supports installing multiple packages. The shapshot ask would likely output it's results in this form. The collection could reference multiple manifests in one or more repositories. Initially the scope might need to be reduced to a single repository. If that's the case, this Issue should be split.

@denelon denelon added the Issue-Feature This is a feature request for the Windows Package Manager client. label May 15, 2020
@denelon denelon added this to the Package Manager Backlog milestone May 23, 2020
@masx200
Copy link

masx200 commented May 24, 2020

I support it!

@denelon
Copy link
Contributor Author

denelon commented Aug 19, 2020

This is not the same thing as #219

@mimi89999
Copy link

Is this what other package managers call virtual packages? A package that does not have files or an installer in itself, but only has dependencies.

@denelon
Copy link
Contributor Author

denelon commented Mar 4, 2021

Duplicate of #220

@denelon denelon marked this as a duplicate of #220 Mar 4, 2021
@ghost
Copy link

ghost commented Mar 4, 2021

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost ghost closed this as completed Mar 4, 2021
@ghost ghost added the Resolution-Duplicate Issue is a duplicate label Mar 4, 2021
@mimi89999
Copy link

Unless I misunderstood what this issue is about, it's not a duplicate of the other issue.

@denelon
Copy link
Contributor Author

denelon commented Mar 4, 2021

The import/export feature leverages a JSON file representing a set of packages. You can either perform an export to build the file, or craft the file by hand. Once you have this file, you can "import" the file and all of the valid packages will be installed.

@denelon
Copy link
Contributor Author

denelon commented Mar 4, 2021

Here is an example of the file:

{
	"$schema" : "https://aka.ms/winget-packages.schema.1.0.json",
	"CreationDate" : "2021- 3- 2 14:40:17.181",
	"Sources" : 
	[
		{
			"Packages" : 
			[
				{
					"Id" : "Microsoft.Whiteboard"
				},
				{
					"Id" : "SixgillLLC.hyperlabel"
				}
			],
			"SourceDetails" : 
			{
				"Argument" : "https://winget.azureedge.net/msstore",
				"Identifier" : "Microsoft.Winget.MSStore.Source_8wekyb3d8bbwe",
				"Name" : "msstore",
				"Type" : "Microsoft.PreIndexed.Package"
			}
		},
		{
			"Packages" : 
			[
				{
					"Id" : "Microsoft.WindowsTerminalPreview"
				},
				{
					"Id" : "Microsoft.WindowsTerminal"
				},
				{
					"Id" : "Microsoft.dotnetRuntime"
				}
			],
			"SourceDetails" : 
			{
				"Argument" : "https://winget.azureedge.net/cache",
				"Identifier" : "Microsoft.Winget.Source_8wekyb3d8bbwe",
				"Name" : "winget",
				"Type" : "Microsoft.PreIndexed.Package"
			}
		}
	],
	"WinGetVersion" : "0.2.10572"
}

@denelon denelon modified the milestones: Package Manager v0.6.x, v1.0 - Windows Package Manager May 4, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Feature This is a feature request for the Windows Package Manager client. Resolution-Duplicate Issue is a duplicate
Projects
None yet
Development

No branches or pull requests

3 participants