Crate silver_platter

Source
Expand description

§Silver-Platter

Silver-Platter makes it possible to contribute automatable changes to source code in a version control system (codemods).

It automatically creates a local checkout of a remote repository, makes user-specified changes, publishes those changes on the remote hosting site and then creates a pull request.

In addition to that, it can also perform basic maintenance on branches that have been proposed for merging - such as restarting them if they have conflicts due to upstream changes.

Modules§

batch
Batch management.
candidates
Candidates for packages.
checks
Check if the package should be uploaded
codemod
Codemod
debian
Utility functions for working with Debian packages.
probers
Selection of probers
proposal
Merge proposal related functions
publish
Publishing changes
recipe
Recipes
run
Run the codemod script and publish the changes as a merge proposal.
utils
Utility functions for working with branches.
vcs
Version control system (VCS) support.
workspace
Workspace for preparing changes for publication

Structs§

ControlDir
Forge
GenericBranch
MergeProposal
RevisionId
Transport
WorkingTree

Enums§

CommitPending
Policy on whether to commit pending changes
Mode
Publish mode

Constants§

VERSION
The version of the library

Traits§

Branch
CodemodResult
The result of a codemod
Prober

Functions§

derived_branch_name
Returns the branch name derived from a script name