1
0
Fork 0
Commit graph

15 commits

Author SHA1 Message Date
mfranz
8617b0a82a - abort when "cvs up" failed (due to failed connection)
- improve fg-upload example: copying upload address to clipboard (KDE)
2007-03-15 17:05:51 +00:00
mfranz
e8840e4373 can't "exec" fg-upload, as this doesn't trigger the trapZZ 2007-03-11 22:05:37 +00:00
mfranz
962e61903a - more efficient filter routine
- fix wrong log message
- cleanup & cosmetics, as always
2007-03-11 19:30:36 +00:00
mfranz
72ef38722d whoops, need to turn off globbing, or ALLOW * doesn't do what it is supposed to 2007-03-10 21:40:39 +00:00
mfranz
f39ad54d93 before a day passes with no commits at all, better have some fg-submit stuff :-)
- drop the DEFAULT keyword in .fg-submit configuration files. That was
  a silly idea. The default rules are now always appended. One can still
  bypass them by ALLOWing or DENYing anything before, for example, by using
  DENY *, or ALLOW *.
- fix a typo that broke ~/.fg-submitrc loading (but ~/.fg-submit worked anyway)
- some minor improvments, cleanup and all that
2007-03-10 20:46:38 +00:00
mfranz
5b683d1c8b yeah, yet another patch ... :-]
- fix config file name in $HOME; This didn't match the documentation.
  (doesn't cost us anything to check ~/.fg-submit first, and then ~/.fg-submitrc)
- don't use mktemp for the backup files. Some outdated distributions
  (Debian) come with a version that mandates six X, which is just too ugly.
  Just find the first free slot with sequential number. That isn't thread
  safe, but mktemp isn't either, so ...  (Should be using "lockfile", but
  its availability on CygWin is questionable. And it's not *that* important.)
- some more documentation
- some cleanup, too, of course
2007-03-09 19:15:54 +00:00
mfranz
abc3b3ffa1 - rules can be defined in optional .fg-submit config files, via commands
ALLOW, DENY, IGNORE, DEFAULT  ... see documentation on top
- make fg-upload arguments like the documentation says. (I had accidentally
  left $1=$PWD, $2=archive, $3=diff, while it should be $1=archive, $2=diff)
- add -v option (verbose)
2007-03-09 16:22:27 +00:00
mfranz
3f1b379e9a - escape '+' in awk pattern (gawk doesn't need it, but mawk does)
- change the mktemp lines to please Debian's stoneage version ... sigh
- reject archives
2007-03-08 23:16:57 +00:00
mfranz
cbae8f95ac whoops, sorry for the noise -- we don't need that first arg 2007-03-08 17:14:29 +00:00
mfranz
d3e7ca7351 fg-check: speedup, minor fixes, cleanup
fg-submit:
- takes alternative optional basename (used instead of dirname)
- calls optional user defined fg-upload script at the end (example on top)
- minor fixes, different color for changed binary files
- cleanup, improved documentation
2007-03-08 16:45:48 +00:00
mfranz
48a57250be - add fg-check script; Can be used to check source/data before committing or
submitting. Detects various kinds of ugliness, but also reports false
  positives. (People aren't supposed to compress texture filer so save
  40 bytes. ;-)
- bugfix in fg-submit + some more cleanup and cosmetics
2007-03-07 16:26:33 +00:00
mfranz
9a1d1e389a don't move existing diff/tar.bz2 file away asking if it's ok to overwrite,
but rather copy the files to mktemp generated & guaranteed unique files
(don't worry, this is the last patch for today :-)
2007-03-06 21:48:28 +00:00
mfranz
d719f7ac63 cleanup 2007-03-06 21:23:26 +00:00
mfranz
937e8283a3 make unified diff 2007-03-06 20:35:28 +00:00
mfranz
7cea2dd67e script that generates an archive with changed and new files for submission;
works on Unix/Linux/CygWin
2007-03-06 19:23:36 +00:00