Commit Graph

20 Commits

Author SHA1 Message Date
Michał Górny
d16eb30d2b Support --noformat and --quiet. 2010-07-13 12:26:14 +02:00
Michał Górny
b7bac5aeed Support calling 'svn up' before performing the commit. 2010-07-13 12:15:25 +02:00
Nathan Phillip Brink
9558a3ecbb Quick English review (I can't find much to improve :-p). 2010-07-12 12:18:42 -04:00
Michał Górny
3e7de31fb0 Manually call repoman manifest/full with old repoman.
If we're using old repoman version, call 'repoman full' before asking
for confirmation to allow fixing minor problems before committing. That
implies calling 'repoman manifest' too.

Additionally, don't complain about outdated repoman before the patched
version is released.
2010-07-12 15:34:14 +02:00
Michał Górny
4056d1996b Use 'sed -n' instead of implicit line removal. 2010-07-12 15:09:37 +02:00
Michał Górny
b2d4d1df00 Native subversion support. 2010-07-12 14:59:56 +02:00
Michał Górny
364ade7b73 Complain about unknown options. 2010-07-12 13:47:50 +02:00
Michał Górny
80434064dc Support for initial commits.
'git checkout' can fail when file is not in index, thus we should
fallback to removing the file. Support adding metadata.xml like old
sunrise-commit did.
2010-07-12 13:43:17 +02:00
Michał Górny
92ead735d0 Support package removals. 2010-07-12 13:27:39 +02:00
Michał Górny
20a30502bc Adjust version number to be continuos with overlay-utils. 2010-07-12 12:11:51 +02:00
Michał Górny
349d6ae12f Support passing --force to repoman. 2010-07-12 11:45:15 +02:00
Michał Górny
0786203159 Add --trivial option for trivial changes.
This one causes sunrise-commit to not update the ChangeLog on a trivial
change (e.g. a Manifest fix).
2010-07-12 11:36:23 +02:00
Michał Górny
6cfe72f59e Do not quote in simple assignments. 2010-07-12 11:30:54 +02:00
Michał Górny
b4454e4e95 Support colorful output. 2010-07-12 11:27:40 +02:00
Michał Górny
cdc95c4595 Fix '-?'-caused pattern match. 2010-07-12 11:15:51 +02:00
Michał Górny
b7d084e3ff Fix bug number display and check for invalid ID. 2010-07-12 10:37:19 +02:00
Michał Górny
4272f47b04 Support --help, --version and --changelog. 2010-07-12 10:32:18 +02:00
Michał Górny
fd1dc7ae28 Support old repoman versions.
If repoman doesn't support '-a', drop it and ask before calling it.
2010-07-12 10:20:31 +02:00
Michał Górny
94e04f960c Describe bugs in ChangeLog entries, print VCS status.
Don't count ChangeLog edits to changes. Require the first ChangeLog
entry to contain a bug number for the new ebuild. Describe all bugs
appearing in the ChangeLog entry. Print out VCS status before starting
to commit.
2010-07-12 09:39:11 +02:00
Michał Górny
a15315093e Introduce new sunrise-commit implementation.
It is basically a nice frontend to call 'echangelog' and 'repoman
commit'. The current code supports git only, and works only inside the
package directory. Additionally, it requires new enough repoman (which
means live portage version right now).
2010-07-12 00:16:24 +02:00