SVP(1)

πŸ’– SVP(1) β€” User Commands πŸ’–

okay bestie, listen up, this is the svp page from the User Commands section and it's genuinely so useful, i'm obsessed ✨


✨ NAME ✨

svp β€” create and manage changes to VCS repositories πŸ¦‹


🌸 SYNOPSIS 🌸

svp [-h] [--version] {run,hosters,login,proposals} ...

πŸ’… DESCRIPTION πŸ’…

Silver-Platter makes it possible to contribute automatable changes to source code in a version control system. no cap. that's the whole vibe.

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. the way it just… does all of that for you 😭 iconic behaviour honestly.

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. lowkey the most useful part, fr fr.


πŸŽ€ COMMAND OVERVIEW πŸŽ€

  • svp run [--refresh] [--label LABEL] [--name NAME] [--mode {push,attempt-push,propose}] [--commit-pending {auto,yes,no}] [--dry-run] url script β€” make a change by running a script. URL should be the URL of a repository to make changes to. script will be run in a checkout of the URL, with the opportunity to make changes. depending on the specified mode, the changes will be committed and pushed back to the repository at the original URL or proposed as a change to the repository at the original URL. svp will exit 0 if no changes have been made, 1 if at least one repository has been changed, and 2 in case of trouble. ⚠️ yes those exit codes matter, remember them.
  • svp hosters β€” display known hosting sites. 🌈
  • svp login BASE-URL β€” log into a new hosting site. 🫢
  • svp proposals [--status {open,merged,closed}] β€” print URLs of all proposals of a specified status that are owned by the current user. πŸ‘‘

🌟 optional arguments: 🌟

  • -h, --help β€” show this help message and exit. the classic. the icon. πŸ’…
  • --version β€” show program's version number and exit. πŸŽ€

πŸ¦‹ SUPPORTED HOSTERS πŸ¦‹

at the moment GitHub, Launchpad and any instances of GitLab are supported. slay.


⭐ EXAMPLES ⭐

  • svp login https://github.com/ β€” log in to GitHub. go off, get yourself authenticated bestie.
  • svp hosters β€” list all known hosting sites. πŸ“
  • svp proposals --status merged β€” list all merged proposals owned by the current user. look at you, so productive.
  • svp run --mode=attempt-push git://github.com/dulwich/dulwich ./fix-typo.py β€” run the script ./fix-typo.py in a checkout of the Dulwich repository. any changes the script makes will be pushed back to the main repository if the current user has the right permissions, and otherwise they will be proposed as a pull request. literally the whole point of this tool and it's giving main character energy.

πŸ”₯ SEE ALSO πŸ”₯

debian-svp(1), git(1), brz(1)

iykyk. go read those too.


πŸ“œ LICENSE πŸ“œ

GNU General Public License, version 2 or later. periodt.


πŸ’œ AUTHORS πŸ’œ

Jelmer Vernooij <jelmer@jelmer.uk> β€” thank you for your service king 🫑


okay that's the whole page!! this is svp version 0.0.1, dated February 2019, and yes it's an oldie but she's still serving πŸ’– bye bestie, go make some pull requests βœ¨πŸŽ€

πŸ“¦ where this page comes from