Skip to content

Allow pulling changes from the root repository when using mrgit #160

@pomek

Description

@pomek

📝 Provide a description of the improvement

Right now, many of us execute the following commands to update an environment:

git pull
mrgit sync

Wouldn't it be useful to execute git pull in the root repository (where the mrgit.json file exists)?

By default, this behavior would be disabled. To enable the extra feature, we should extend the configuration. Example:

{
	"packages": "external/",
	"$rootRepository": "ckeditor/ckeditor5#master",
	"dependencies": {
		/* ... */
	},
	"presets": {
		"release": {
			"$rootRepository": "ckeditor/ckeditor5#release"
			/* ... */
		}
	}
}

Extra point: figure out how to combine the $rootRepository with presets.

The name of the option is a subject to discuss.


If you'd like to see this improvement implemented, add a 👍 reaction to this post.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions