Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 736072 - app-portage/repoman: add support to stash and unstash unstaged changes
Summary: app-portage/repoman: add support to stash and unstash unstaged changes
Status: RESOLVED WONTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Repoman (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-05 16:46 UTC by Zac Medico
Modified: 2022-07-12 03:18 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zac Medico gentoo-dev 2020-08-05 16:46:56 UTC
For example, repoman can use a command like this to stash the unstaged changes prior to a commit:

> git stash push -m "repoman commit stash ${STASH_KEY}" --keep-index --include-untracked -- . '!Manifest'

After the commit, it can unstash the unstaged changes with a command like this:

> git stash pop "$(git stash list --grep="repoman commit stash ${STASH_KEY}" --pretty='format:%gD')"
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-12 03:18:15 UTC
repoman support has been removed per bug 835013.

Please file a new bug (or, I suppose, reopen this one) if you feel this check is still applicable to pkgcheck and doesn't already exist.