Lukas Fleischer
b445920d55
archrelease: Remove redundant directory check
...
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-08-25 11:09:01 +02:00
Dave Reisner
35573fe147
archrelease: declare known_files as an array
...
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-08-18 10:11:27 +02:00
Dave Reisner
5688152f41
archrelease: use bashier syntax
...
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-08-18 10:11:27 +02:00
Dave Reisner
e1312ec493
archrelease: call svn rm only once
...
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-08-18 10:11:27 +02:00
Pierre Schmitz
f1ee5208ed
supress svn verbose output
2011-08-13 23:02:45 +02:00
Lukas Fleischer
51b5d69cfc
archrelease: Fix removal of repository content
...
Fix the `svn rm` invocation when releasing to a repository that already
contains some files. `svn ls` only returns basenames, so we need to
prepend the path here.
Regression introduced in 8384ad849d
.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-08-13 20:20:21 +02:00
Dan McGee
8384ad849d
archrelease: remove extra SVN commit
...
This relies on the fact that trunk/ never has any subdirectories, so we
can simply copy all the files in it to the relevant repos/xxx/ directory
after removing all existing files in that directory.
Signed-off-by: Dan McGee <dan@archlinux.org>
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-07-25 20:36:21 +02:00
Dan McGee
5d39ffb341
archrelease: add repos/ directory if it doesn't exist
...
Very easy thing to forget when creating a new package, but easy enough
to check for and add automatically.
Signed-off-by: Dan McGee <dan@archlinux.org>
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-07-25 17:50:22 +02:00
Pierre Schmitz
45c8269441
archrelease: be more verbose
2011-04-09 13:41:14 +02:00
Pierre Schmitz
5815d639f3
Accept any dir except a repos subdir as trunk
2010-12-14 15:13:06 +01:00
Pierre Schmitz
85251a1d7b
removed mode lines; was not a good idea after all
2010-06-24 10:01:20 +02:00
Pierre Schmitz
371f57b043
Don't check if package was released already
...
The checks aren't reliable enough and fail if the local repo is broken due to
network failures. So for now we just allways commit.
2010-02-22 19:11:17 +01:00
Pierre Schmitz
2fe5dbf904
be more fail safe
2010-02-22 08:13:43 +01:00
Pierre Schmitz
df4310025b
Use svnversion insead of svn info
2010-02-17 18:27:09 +01:00
Pierre Schmitz
53a864a5aa
Use local information to determine if a commit is needed
2010-02-17 18:05:16 +01:00
Pierre Schmitz
849e6c6de5
Check if package was already released
2010-02-17 15:24:54 +01:00
Pierre Schmitz
362a99b995
apply common coding style
2010-02-13 19:47:16 +01:00
Pierre Schmitz
59b7a739e8
inform the user of activities that might take a longer time
2010-02-13 04:03:10 +01:00
Pierre Schmitz
c22a6014d7
supress confusing output of pushd and popd
2010-02-12 01:11:59 +01:00
Pierre Schmitz
f09baea392
Replace expensive merge with delete and copy
2010-02-11 14:25:20 +01:00
François Charette
bb1ab73c74
archrelease: exit if working copy is not committed
...
Check with svn diff if the PKGBUILD etc has been committed,
and exit with an error message if not.
Also moved message from commitpkg to here.
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-10-06 09:20:03 -07:00
Aaron Griffin
6805bc54f4
Ensure archrelease is always run from a proper directory
...
It should only be run from a trunk dir containing a PKGBUILD
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-04-21 21:31:51 -05:00
Aaron Griffin
b54ddd2cf4
Create the 'repos' dir if it doesn't exist
...
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-04-21 21:25:41 -05:00
Jason Chu
0b36e8ecb3
Add a message that explains what to do when a merge conflict is detected and needs to be dealt with.
2008-04-20 13:30:00 -07:00
Jason Chu
bd6a5df0ab
Start tracking svnmerge info when we create a branch
...
I thought it was tracked by default
2008-04-09 12:23:11 -07:00
Aaron Griffin
ba6e6648e9
Copy only the HEAD revision when releasing
...
This prevents the copying of local files and only
copies versioned files
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-04-08 01:53:18 -05:00
Aaron Griffin
fd04791f5b
archrelease modifications to auto-commit handling
...
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-04-08 01:46:29 -05:00
Jason Chu
8842f31551
Add arch{co,release,rm} to devtools and make them install properly
2008-04-05 18:11:32 -07:00