Commit Graph

362 Commits

Author SHA1 Message Date
705c793450 Code cleanup 2019-03-15 19:09:43 +01:00
a2c9dcd83e Import Git hook for DeforaOS 2019-03-15 19:03:07 +01:00
8333fd3533 Rename deforaos-git-hook.sh to deforaos-git-message.sh 2019-03-15 18:34:52 +01:00
27283fbf9c Use PROGNAME 2017-11-10 05:02:43 +01:00
f7903e1afc Update the copyright notice 2017-11-10 04:59:06 +01:00
652f042add Default to HTTPS 2017-11-10 04:58:58 +01:00
e66f0659cb Update the copyright notice 2017-11-10 04:58:07 +01:00
71594eb8fa Use PROGNAME 2017-11-10 04:58:01 +01:00
c7cc27b08e Limit the quit message to 50 characters 2017-11-10 04:55:19 +01:00
4daa5ef21c Update the copyright notice 2017-11-09 01:56:56 +01:00
a7516898e3 Default to HTTPS 2017-11-09 01:56:56 +01:00
115bfc14c0 Be more portable for fortune(6) 2017-10-16 13:35:49 +02:00
7f3a81d809 Fix the usage screen 2017-10-16 13:35:32 +02:00
de1ab16856 Use PROGNAME 2017-10-08 17:06:13 +02:00
015b4337b9 Update the copyright notice 2017-10-08 17:06:01 +02:00
cbf26a403f Default to HTTPS 2017-10-08 17:05:51 +02:00
d980451702 Update the copyright notice 2017-06-08 16:18:21 -04:00
80d8c87705 Use a different PREFIX to reach ii 2017-06-08 16:18:21 -04:00
bec3a19bb0 Limit fortunes to 50 characters 2016-11-16 03:15:06 +01:00
9e2bd263a3 Initial import of deforaos-irc.sh 2016-11-16 03:02:57 +01:00
bc346d1014 Update the copyright notice 2016-11-16 00:59:08 +01:00
2d91dfac24 Code cleanup 2016-11-16 00:58:45 +01:00
d6df28c651 Add Gtk+ {2,3} to the list of dependencies 2016-08-15 15:22:00 +02:00
c7a94501a7 Minor optimization 2016-08-15 02:08:23 +02:00
0acf9429f3 Detect dependencies from the pkg-config definitions 2016-08-15 01:56:16 +02:00
585de72d24 Remove directories according to the respective sections 2016-08-15 01:43:06 +02:00
ccb68796b9 Detect the section for manual pages 2016-08-15 01:43:06 +02:00
045d415f9f Code cleanup 2016-08-15 01:20:40 +02:00
222d2ec35c Also move HTML manual pages 2016-08-15 01:18:28 +02:00
93585f1529 Ignore CSS files 2016-08-15 01:18:28 +02:00
b6ebc12eb4 Only move manual pages around if necessary 2016-08-15 01:18:28 +02:00
737bf03121 Sort the list of manual pages 2016-08-15 01:18:28 +02:00
d8d097839d Add support for the GNU LGPL 3 license for pkgsrc 2016-08-15 01:10:45 +02:00
540206bb9c Code cleanup 2016-07-26 15:35:27 +02:00
cd7ad477a8 Code cleanup 2016-07-26 15:34:45 +02:00
5d0c8c2228 Improve full name detection 2016-07-26 15:32:52 +02:00
6f7f744634 Improve e-mail detection 2016-07-26 15:30:08 +02:00
f0aa9a71a6 Implement a generic binary package 2016-07-26 15:24:23 +02:00
a157e9ff88 Do not hardcode the packaging methods available 2016-07-26 15:04:57 +02:00
8660a9ca2c Update the copyright notice 2016-07-26 15:02:28 +02:00
92aa970497 Report the packaging method guess on stdout 2016-07-26 14:50:04 +02:00
731b2d1145 No longer mention freecode 2015-10-04 13:55:29 +02:00
a1d412538a Fix the link to branches with Gitweb 2015-09-17 20:04:53 +02:00
98eceb4d77 Update the copyright notice 2015-06-04 23:53:34 +02:00
0cf06346ab Code cleanup 2015-06-04 23:53:24 +02:00
36d47d9edf Code cleanup 2015-06-02 20:45:39 +02:00
c80e98c574 Fix issues with force mode 2015-06-02 20:45:39 +02:00
3c312f79f5 Let the package prefix be overridden 2015-06-02 20:40:42 +02:00
ff94e30483 Code cleanup 2015-06-02 20:39:48 +02:00
f08ae09b52 Let the package name be overridden 2015-06-02 20:38:01 +02:00
d4bf78307b Always create the source archive if necessary 2015-06-02 20:36:50 +02:00
888724a2c1 Guess the underlying SCM
This currently supports both CVS and Git as before. Git is still only
detected when running the script from within the root repository.
2015-06-02 20:34:10 +02:00
6ae7767dc3 Implement -f with pkgsrc as well 2015-05-29 11:11:03 +02:00
fbd42e17a3 Use VENDOR 2015-05-29 11:09:22 +02:00
1e2daa156f Use PROGNAME 2015-05-29 11:06:16 +02:00
eb129d7211 Clean up the package directory as intended
This is relevant for pkgsrc packaging.
2015-05-29 10:57:57 +02:00
1e0f34da9b Force pkg-config to look into $PREFIX first 2015-05-28 21:35:55 +02:00
4a03d69093 Auto-detect the PREFIX by platform 2015-05-28 21:26:59 +02:00
525a2c3a41 Make the "distclean" target while packaging 2015-05-28 21:26:59 +02:00
6b174115cf Install more files
This will unfortunately break some packages as-is, as some files may not
be available and this breaks package creation.
2015-05-28 21:03:00 +02:00
220c4059c4 Install all the libraries as required 2015-05-28 21:02:22 +02:00
808e99fc02 Forget the patches applied in force mode 2015-05-28 21:01:11 +02:00
8e6c363ff8 Allow packaging subsequent revisions
This is relevant to Debian packaging.
2015-05-28 20:38:27 +02:00
e3e9a72e28 Re-generate the Makefiles and register the changes if any 2015-05-28 20:37:10 +02:00
c229a64c7f Update a message (in verbose mode) 2015-05-28 20:34:31 +02:00
26c6ebc840 Check for changes before packaging
This is relevant for Debian packaging. This code is duplicated with
deforaos-release.sh.
2015-05-28 20:33:39 +02:00
4d56063ac8 Override the build and install rules for DeforaOS configure 2015-05-28 20:29:11 +02:00
c7baefb69e Fix calling lintian with library packages 2015-05-28 20:26:26 +02:00
f0dca37840 Code cleanup 2015-05-28 20:25:33 +02:00
b7acf31266 Code cleanup 2015-05-28 20:24:10 +02:00
e538b82e4b Place the default changelog entry in a dedicated variable 2015-05-28 20:21:41 +02:00
7ba1e9ab5b Place the default domain in a dedicated variable 2015-05-28 20:20:17 +02:00
1f3ecb5ca7 Use git to obtain the full name and e-mail address 2015-05-28 20:19:08 +02:00
2157a11c52 Code cleanup 2015-05-28 20:17:22 +02:00
bf48103ba0 Code cleanup 2015-05-28 20:16:19 +02:00
81ef87257d Code cleanup 2015-05-28 20:14:11 +02:00
27edd6f68a Link to the shortlog on multiple commits
This is relevant for links to Gitweb.
Thanks ^7heo for the heads up.
2015-05-18 17:43:58 +02:00
87145de868 No longer store Makefiles in the source tree 2015-05-11 00:22:47 +02:00
b19d63a019 Update the copyright notice 2015-05-11 00:21:57 +02:00
939d4cc786 Add a "-f" flag (does not perform the tests) 2015-05-11 00:21:57 +02:00
5785cddcdd Updated the copyright line 2015-02-04 23:12:46 +01:00
0d78a327a9 Generate Debian packages for format version 9 2015-02-04 23:12:21 +01:00
1fd0e4fd21 Workaround for an issue with "git diff --quiet" 2014-12-02 22:15:01 +01:00
8784bc9bea Slightly improved the success message 2014-12-02 22:02:48 +01:00
153725e516 Check that the archive is actually created by "make distcheck" 2014-12-02 22:00:05 +01:00
e1ba9f00c7 Code cleanup 2014-12-02 21:56:14 +01:00
639c4c6e3d Code cleanup 2014-12-02 21:56:05 +01:00
167079defd Implemented a dry-run mode (with the "-n" command-line option) 2014-12-02 21:46:24 +01:00
dca096c37e Re-generated the Makefiles 2014-12-02 21:45:39 +01:00
08c61d3107 Using "git diff --quiet" instead of "git diff -q" (which did not work) 2014-12-02 21:42:15 +01:00
85acfdda59 No longer hard-code the URL to freecode 2014-12-02 21:29:36 +01:00
5730f55280 Silence "cvs diff" out 2014-12-02 21:28:10 +01:00
346af82588 Use "git diff -q" to determine if there are local changes to Git repositories 2014-12-02 21:27:36 +01:00
0ea104b121 Use "make distcheck" to build-check the release 2014-12-02 20:59:39 +01:00
7d1f43567d Code cleanup 2014-12-02 20:59:13 +01:00
df92dcbef7 Allow alternative vendors for desktop files 2014-12-02 20:58:53 +01:00
9dfb105785 No longer hard-code the Git branch 2014-12-02 20:57:47 +01:00
fc22495415 Using PROGNAME in deforaos-release.sh 2014-12-02 20:56:54 +01:00
e8c48730b8 Detect force pushes as well 2014-10-30 18:07:47 +01:00
0f8940f4a1 Added a comment 2014-10-09 23:01:21 +02:00
62b43704ef Run "configure" before checking for differences and releasing 2014-10-09 23:00:51 +02:00
e8367af631 Fixed the links for Redmine 2014-09-30 18:49:20 +02:00
2d24a89264 Also provide a link when there is more than one commit (to the branch) 2014-09-20 03:50:28 +02:00
c8d1d32ba2 Forced the links to be in lower-case for Redmine 2014-09-17 18:16:36 +02:00
c2ed131032 Added support for Redmine 2014-09-15 18:50:06 +02:00
d9aa6a94a5 Output links only when a single commit was pushed 2014-09-15 18:49:14 +02:00
1a97d48d4b Also link to the gitweb repository for new tags and branches 2014-09-14 22:51:54 +02:00
d20c8fb80b Added support for links back to gitweb 2014-09-14 21:55:26 +02:00
f24061cd50 Rewrote the string truncation substitution that was not POSIX-compliant 2014-09-14 21:54:01 +02:00
bcbb1a6d6d Left-trimmed the message when no repository is known 2014-09-14 21:48:10 +02:00
600e82b0c4 Include the short revision in the message for new branches and tags 2014-09-14 21:31:42 +02:00
96a07f353a Also support (un)tagging 2014-09-14 21:23:04 +02:00
b0a1289cd3 Also determine the plural form for the type of push 2014-09-11 21:34:54 +02:00
195a5cad42 No longer require "wc" (fixes spacing on NetBSD) 2014-09-11 21:34:19 +02:00
792d31a6b7 Really detect new and deleted branches 2014-09-10 21:55:29 +02:00
4a9a8cc4de Code cleanup 2014-09-10 21:55:06 +02:00
baa2821eb0 Code cleanup 2014-09-10 21:53:53 +02:00
Fredrik A
547437b7e1 Gather unique file count 2014-09-10 21:28:11 +02:00
1edaf8e1f2 Also mention the author and repository in the messages 2014-09-03 23:17:30 +02:00
6d0bbbc4ac Mention the commit ID and message when pushing single commits 2014-09-03 00:26:18 +02:00
9d20f4e689 Determine the branch and commit type 2014-09-01 23:11:25 +02:00
2182a018a0 Also log the refname for now 2014-08-29 04:39:51 +02:00
0a3d4dedf8 Code cleanup 2014-08-29 04:25:56 +02:00
540785907b It is really the "update" hook which seems to accept 3 arguments 2014-08-29 04:11:03 +02:00
ca64142d25 Trying to implement both "post-commit" and "post-receive" together 2014-08-29 03:57:08 +02:00
ab5238ef12 Introducing a Git hook 2014-08-29 02:57:23 +02:00
17d084cb08 Imported a locking script 2014-04-07 00:31:16 +02:00
43a2016d54 More portable shebang, from 7heo <7heo@mail.com>
Original commit message:
« The path /bin/sh for the shebang is more portable
than /usr/bin/env, according to Sven Mascheck:
http://in-ulm.de/~mascheck/various/shebang/#env
and:
http://in-ulm.de/~mascheck/various/shells/

Additionally, a space after the shebang first two
characters (#!) is said to be more portable:
http://in-ulm.de/~mascheck/various/shebang/#blankrequired

I fixed the test script shebang accordingly. »

It doesn't say the presence of a space makes it more portable; it says it was a rumor that could never be proven true, for some completely obsolete releases of UNIX. I did not apply that part.

Thanks!
2014-03-13 14:00:47 +09:00
9dab19024d Fixed the order of arguments to "git tag" 2014-02-10 01:09:19 +01:00
387518745f Add a message when tagging with Git 2013-11-25 02:48:05 +01:00
ff2d044705 Added a test for the vendor prefix for desktop entries 2013-11-25 01:54:34 +01:00
c610c4a62b Added a check for fuzzy translations 2013-11-25 01:46:38 +01:00
4819f83713 Be sure to be working on the master branch 2013-11-25 01:35:45 +01:00
844cef198b Only log errors while generating the documentation 2013-07-24 03:56:22 +02:00
3abcee439b More portable use of install(1) 2013-07-24 03:51:24 +02:00
8bb189e59d Fixed installation of the manual pages (in the proper destination folder) 2013-07-24 02:34:18 +02:00
7321b6018a Fixed the right path this time (for Git instead of for CVS) 2013-07-24 02:14:00 +02:00
af74e992eb Fixed installing the manual pages 2013-07-24 02:08:38 +02:00
34e24bc941 Also install deforaos-document.sh 2013-07-24 01:48:46 +02:00
eda53868a0 Added an explicit mode for e-mailing (disabled by default) 2013-07-22 03:54:41 +02:00
224430a09c Let both scripts really work with either temporary or existing directories 2013-07-22 03:40:31 +02:00
4bda0d52bb Make sure the base folder always exists 2013-07-22 03:27:48 +02:00
b2e01068e0 Code cleanup and minor fixes 2013-07-22 03:23:54 +02:00
c52c0b8020 Make sure to be downloading every sub-repository as well 2013-07-22 03:09:13 +02:00
26fc65506b Fixed issues cloning and accessing the local Git mirror 2013-07-22 02:46:43 +02:00
15c1c507d6 More consistency between both documentation and update scripts 2013-07-22 02:37:55 +02:00
cac2860df2 Always erase temporary data 2013-07-22 02:24:37 +02:00
53f716f8eb Default to git.defora.org instead of github.com for Git mode 2013-07-22 02:22:19 +02:00
3fad34bf69 More consistency for the usage screen and e-mail subject 2013-07-22 02:21:35 +02:00
b2599fa7f6 Be more verbose when updating the main repository 2013-07-22 02:08:27 +02:00