Mario Fetka
ce4ce52c10
update documentation
2010-11-08 19:37:26 +01:00
Mario Fetka
3f90dcfc66
update gitignore
2010-11-08 14:18:54 +01:00
Mario Fetka
6ad574f515
initial commit
2010-11-08 14:11:20 +01:00
Michał Górny
78c5e79e70
Move CVS check earlier as hg can appear in one of the parent dirs.
2010-11-07 09:10:51 +01:00
Michał Górny
bc9441e2a7
Enable ChangeLogs with CVS and svn by default.
2010-11-07 09:10:22 +01:00
Michał Górny
db4a3def28
Fix SC_VCS=git-svn used instead of SC_VCS=git.
2010-11-03 17:13:25 +01:00
Michał Górny
b21ae5bd82
Don't use `grep -e' without a reason to do so.
2010-11-02 09:05:16 +01:00
Michał Górny
09661479e0
Replace SC_VCS=git-svn with SC_WANT_CHANGELOG.
...
Now ChangeLog creation is controlled directly by a dedicated variable.
It is disabled by default, and enabled implicitly with cvs, svn and
git-svn. It can be enabled explicitly via `-c' too.
SC_VCS no longer will contain git-svn -- it will be simply git. That
simplifies a lot of checks in the code.
2010-11-01 23:13:55 +01:00
Michał Górny
de3ab6ece9
Avoid using XSI extensions (-a and -o test operators).
2010-11-01 23:07:39 +01:00
Michał Górny
470faa079a
Fix the .gitignore file.
2010-11-01 16:54:00 +01:00
Michał Górny
441d47af54
Use the 'build-aux' directory.
2010-11-01 16:42:38 +01:00
Michał Górny
6a202d66b0
Generate output files within the Makefile, and distribute them.
...
As we only put the version number to the distributed scripts, there's no
reason to regenerate them each time.
2010-10-31 16:22:28 +01:00
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