Michał Górny
42485aa9a1
Use complete @PACKAGE_STRING@ in sunrise-commit.
2010-10-31 16:09:49 +01:00
Michał Górny
885c2d40c2
Adjust the prereqs and disable dependency tracking.
2010-10-31 08:38:09 +01:00
Nathan Phillip Brink
f8ea18212e
Clarified the EXTENDED DESCRIPTION section of the manpage and enforced more consistent highlighting of ``sunrise-commit''.
2010-10-30 16:34:32 -04:00
Michał Górny
dbd11bc848
Use dist-bzip2 by default.
2010-10-30 22:08:06 +02:00
Michał Górny
b0ec712f33
Add detailed scenario descriptions.
2010-10-30 21:28:35 +02:00
Michał Górny
76e0af1e25
Update the manpage a little.
2010-10-30 20:17:26 +02:00
Nathan Phillip Brink
ce70c2dd65
Only verbosely output ``Updating the repository...'' when actually attempting to upate the repository.
2010-10-30 14:17:08 -04:00
Nathan Phillip Brink
5a693ebacf
Add .gitignore to hide changes to automatically generated files.
2010-10-30 13:16:00 -04:00
Nathan Phillip Brink
794daad0d3
Use the modern naming convention for configure.ac.
2010-10-30 13:12:05 -04:00
Nathan Phillip Brink
c924fb5f37
Use autoconf's AC_SUBST for sunrise-commit.1 (the manpage), not just sunrise-commit.
2010-10-30 13:11:22 -04:00
Michał Górny
fd6cf3545b
Move to an autotools-based build system.
2010-10-30 17:53:30 +02:00
Michał Górny
156a5d7131
Peform the repo update before calling echangelog.
2010-10-30 11:48:59 +02:00
Michał Górny
8ef4e30fc5
Pass '-d -P' to 'cvs update'.
2010-10-30 11:48:03 +02:00
Michał Górny
cee1dac95f
In CVS, don't call vcs_status if update is used already.
...
As CVS lists changes during the 'update' call, there's no reason to call
it twice. Thus, call vcs_status only if -d is used.
2010-10-30 11:44:54 +02:00
Michał Górny
849ccc9cf7
We don't expect SC_VCS to be git-cvs.
2010-10-28 18:38:49 +02:00
Michał Górny
59dd01f1c7
Don't prepend the package name when committing it to CVS.
2010-10-28 18:38:10 +02:00
Nathan Phillip Brink
3c7b7518ef
Make the -d option disable updating the local repository. It originally enabled updating the local repository, performing the reverse of its documented functionality.
2010-10-27 16:27:20 -04:00
Nathan Phillip Brink
3a3818cab3
Support CVS. I actually tested the package adding, updating, bumping, and removal operations this time ;-).
2010-10-27 16:22:46 -04:00
Michał Górny
176fcaecef
Introduce array_append() function, in favor of inline assignments.
2010-10-02 19:17:46 +02:00
Michał Górny
a23f1fdb9b
Introduce simple fastconf install script.
2010-09-29 12:02:31 +02:00
Nathan Phillip Brink
8e6c21f793
Subversion: Fix detection of package removal for overlays using plain Subversion.
2010-09-28 12:44:52 -04:00
Michał Górny
c8c9e803e7
Whitespace cleanup.
2010-09-26 10:38:59 +02:00
Nathan Phillip Brink
254df61bd8
Fix my previous two fixes. Now one can enter a category directory and use sunrise-commit to remove packages whose directories are marked as deleted. Successfully tested to work with a Mercurial repository, unlike my previous two commits ;-).
2010-09-23 19:07:44 -04:00
Nathan Phillip Brink
7810093bba
Fix my fix for relative paths during package removal so that one may remove multiple packages at a time.
2010-09-20 10:52:03 -04:00
Nathan Phillip Brink
f10dea040c
Mercurial: Fix vcs_commit() so that a commit message is specified. Also, fix relative path names so that one can remove a package by running sunrise-commit from a category directory instead of from a repository's root directory.
2010-09-20 10:48:39 -04:00
Nathan Phillip Brink
779394ac1f
When removing a package and grepping ofr package references, don't let grep complain if profiles/package.mask doesn't exist.
2010-09-20 10:20:52 -04:00
Nathan Phillip Brink
0d1ac07ef7
Mercurial: In vcs_reset(), the hg revert command was creating backups of files with names similar to ChangeLog.orig. The introduction of new files prevents a successful commit because the new file isn't included into the repository. Now we request that no backups be made when reverting a file.
2010-09-15 01:38:17 -04:00
Michał Górny
c8da172252
Silence the 'hg tip' call.
2010-08-26 18:54:14 +02:00
Nathan Phillip Brink
ff91dba58c
Add notes to the manpage: DVCSes will not have ChangeLogs created automatically; there is no automatic pulling for DVCSes.
2010-08-25 18:52:18 -04:00
Michał Górny
08827d56e1
Simplify checking exit code 0.
2010-08-26 00:08:21 +02:00
Michał Górny
16a8ff2d6d
Simplify logic.
2010-08-25 23:59:17 +02:00
Michał Górny
b381a62c21
Update manpage to state Mercurial support.
2010-08-25 23:57:17 +02:00
Michał Górny
e9c45a709a
'Unsunrise' the script description.
...
sunrise-commit can be used basically with any repository, not
necessarily Sunrise.
2010-08-25 23:54:12 +02:00
Nathan Phillip Brink
60a91f15d3
Mercurial support.
2010-08-24 23:40:55 +02:00
Michał Górny
51e3d9cd78
Grep within metadata.xml too.
2010-08-14 15:55:51 +02:00
Michał Górny
6fbc0a0042
Grep for removed package references before removal.
...
Use 'grep' to catch references to removed packages within other Sunrise
ebuilds (*DEPEND) and package.mask.
2010-08-12 23:01:43 +02:00
Michał Górny
5249ec662b
Filter SC_CHANGE_LIST completely, introduce SC_REMOVED_PACKAGE_LIST.
...
When filtering SC_CHANGE_LIST entries for SC_CP, filter the
SC_CHANGE_LIST variable as well. Additionally, create
SC_REMOVED_PACKAGE_LIST as a clean copy of the list (without
eclass/license/profile changes appended).
2010-08-12 22:40:21 +02:00
Michał Górny
f04a536617
Mark as the 0.3_pre1 version.
2010-08-06 18:13:25 +02:00
Michał Górny
b111e8235d
Add an additional newline before confirmation.
2010-08-06 08:29:40 +02:00
Nathan Phillip Brink
633bb44fae
Some improvements to consistency and clarity for sunrise-commit(1).
2010-07-13 23:47:31 -04:00
Michał Górny
0dca83a452
Use 'git checkout HEAD' instead of reset+checkout.
...
Thanks for the suggestion to Jonathan Callen.
2010-07-13 18:45:50 +02:00
Michał Górny
671838fee9
Run Sunrise-specific checks only when in Sunrise.
2010-07-13 18:41:13 +02:00
Michał Górny
b8faaae3c7
Use 'svn revert' to clean/restore ChangeLog.
...
Unlike 'svn up', 'svn revert' doesn't require network access and
preserves current revision.
2010-07-13 17:39:49 +02:00
Michał Górny
304ef4db49
Separate filenames from options whenever necessary. Style.
...
Whenever we're using dynamically-passed filenames, use '--' to separate
them from options. Additionally, always use braces around variable
names.
2010-07-13 17:34:42 +02:00
Michał Górny
72435c1a73
Interact with VCS directly when checking whole directory removal.
...
Use VCS functions to check whether the cached/to-be-committed version of
the working tree contains the particular directory instead of using the
local working tree. Thanks to that, the functions no longer care about
stray files.
2010-07-13 17:26:36 +02:00
Michał Górny
d50f6a7282
General cleanup, comments added.
2010-07-13 17:15:51 +02:00
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
Michał Górny
1cbbf1b7c9
Introduce the manpage.
2010-07-13 11:47:00 +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