Skip to content

Support a collection of packages #156

Closed

Description

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.

Activity

  1. added this to the milestone on May 23, 2020
  2. masx200 commented on May 24, 2020

    @masx200

    I support it!

  3. modified the milestones: , on Aug 19, 2020
  4. denelon commented on Aug 19, 2020

    @denelon
    CollaboratorAuthor

    This is not the same thing as #219

  5. mimi89999 commented on Dec 7, 2020

    @mimi89999

    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.

  6. denelon commented on Mar 4, 2021

    @denelon
    CollaboratorAuthor

    Duplicate of #220

  7. ghost closed this as completedon Mar 4, 2021
  8. mimi89999 commented on Mar 4, 2021

    @mimi89999

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

  9. denelon commented on Mar 4, 2021

    @denelon
    CollaboratorAuthor

    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.

  10. denelon commented on Mar 4, 2021

    @denelon
    CollaboratorAuthor

    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"
    }
  11. modified the milestones: , v1.0 - Windows Package Manager on May 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-FeatureThis is a feature request for the Windows Package Manager client.Resolution-DuplicateIssue is a duplicate

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions