Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 328433 - New package: app-portage/repo-commit, a repository commit helper
Summary: New package: app-portage/repo-commit, a repository commit helper
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Default Assignee for New Packages
URL: http://github.com/mgorny/repo-commit/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-15 16:00 UTC by Michał Górny
Modified: 2011-09-02 13:04 UTC (History)
3 users (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 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2010-07-15 16:00:15 UTC
The 'sunrise-commit' script installed by app-portage/overlay-utils is quite outdated and not maintained anymore. Moreover, it uses ancient tools like 'echangelog-tng' and certainly isn't ready for Sunrise svn->git migration.

I've created an alternative 'sunrise-commit' script, written for scratch but with syntax compatiblity and continuos versioning in mind. It supports all the command-line options old sunrise-commit does, and introduces few new features.

The most important features my script introduces are:
* support for both Subversion and GIT repositories (including git-svn),
* use of modern 'echangelog' and 'repoman commit' (I'm working on patches to repoman too),
* simplified ChangeLog handling -- '-c' option isn't effective anymore, sunrise-commit resets the ChangeLog and recreates the entry each time it is called,
* resolving of bug numbers to titles in commit messages (incl. requiring a bug number on initial commit),
* support for doing nice and clean package removals with sunrise-commit (incl. removing few packages at once, and checking reverse dependencies is planned).

Additionally, use of modern tools mentioned before made the script much simpler.

I would appreciate review and (after some testing and fixing important bugs) replacing the original overlay-utils package with my script. After first reviews and test, I could prepare a package and commit the ebuild as overlay-utils-0.3, package.masked.
Comment 1 Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2011-09-02 13:04:27 UTC
mgorny committed this to gentoo-x86 yesterday.