AminetAminet
Search:
84476 packages online
About
Recent
Browse
Search
Upload
Setup
Services

dev/misc/revbump.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:A revision bumper with extra fields.
Author:Joachim Birging
Uploader:Joachim Birging <jocke birging gmail com>
Type:dev/misc
Version:51.3
Architecture:m68k-amigaos >= 3.0.0; ppc-amigaos; ppc-morphos; i386-aros
Date:2006-09-12
Download:http://aminet.net/dev/misc/revbump.lha - View contents
Readme:http://aminet.net/dev/misc/revbump.readme
Downloads:1116

revbump.readme:
---------------
revbump - a revision bumper that supports version numbers like 4.17.13 and
a few things more. Released as Public Domain.

Binaries for AmigaOS 3, AmigaOS 4, MorphOS, x86-AROS and x86-linux
included in this archive.


Usage:
------
revbump <name> [ver|rev|sub] [<version>] [<revision>] [<subrevision>]

name: The name of the project. Resulting file will use it as basename,
example name_rev.h. Must be the second argument.

ver: This switch will bump the version number.

rev: This switch will bump the revision number. This is the default
behavior if leaving out any of the ver, rev or sub arguments.

sub: This switch will bump the subrevision number.

version: The version number you want the project to have. If this is the
last argument revision and subrevision will be set to 0.

revision: The revision number the project should have. If this is the last
argument subrevision will be set to 0.

subrevision: The subrevision of the project, for full control of the
entire version.revision.subrevision line.


The result:
-----------
Best is a sample file, produced by the command 'revbump project'

---
#define VERSION	0
#define REVISION	1
#define SUBREVISION	0

#define DATE	"11.09.2006"
#define VERS	"project 0.1"
#define VSTRING	"project 0.1 (11.09.2006)rn"
#define VERSTAG	"$VER: project 0.1 (11.09.2006)"

#define VERSION_STR	"0"
#define REVISION_STR	"1"
#define SUBREVISION_STR	"0"

#define NEW_VERS	"project 0.1.0"
#define NEW_VSTRING	"project 0.1.0 (11.09.2006)rn"
#define NEW_VERSTAG	"$VER: project 0.1.0 (11.09.2006)"
---

Same tags as with normal 'bumprev', but some extra tags as well.


Examples:
---------
'revbump project' :
Will create a file project_rev.h, with version number 0.0.1, or if the
file project_rev.h exists, bump the revision for it.

'revbump project sub' :
Will bump the subrevision of project. This switch will have no effect if
the file project_rev.h does not exist.

'revbump project 4 17 13' :
Will set the version number to 4.17.13.


History:
--------
51.3 - Added "touch" argument, will only update the date.
     - When subrevision = 0 it will not be shown in the versionstring.

51.2 - Bugfix version. Added "ver", "rev" and "sub" arguments.

51.1 - Quickly removed from AmiNet, severe bug encountered.


Contents of dev/misc/revbump.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                  157     255  61.6% -lh5- ddb7 Sep 11 07:59 revbump/Makefile.aros
[generic]                  147     234  62.8% -lh5- 213d Sep 11 07:59 revbump/Makefile.linux
[generic]                  189     337  56.1% -lh5- 61a9 Sep 11 07:59 revbump/Makefile.mos
[generic]                  192     330  58.2% -lh5- 75ec Sep 10 22:12 revbump/Makefile.os3
[generic]                  173     295  58.6% -lh5- 7d6d Sep 10 11:11 revbump/Makefile.os4
[generic]                 4743   13020  36.4% -lh5- dcbc Sep 12 14:59 revbump/revbump.aros
[generic]                 1036    3944  26.3% -lh5- 292e Sep 12 14:57 revbump/revbump.c
[generic]                  145     620  23.4% -lh5- 4307 Sep 10 21:47 revbump/revbump.h
[generic]                 2860    6336  45.1% -lh5- 24db Sep 12 14:58 revbump/revbump.linux
[generic]                17815   43264  41.2% -lh5- 3059 Sep 12 15:00 revbump/revbump.mos
[generic]                 8011   13936  57.5% -lh5- a391 Sep 12 14:59 revbump/revbump.os3
[generic]                 3854   10644  36.2% -lh5- 37cf Sep 12 15:00 revbump/revbump.os4
[generic]                 1087    2535  42.9% -lh5- 39f9 Sep 12 14:57 revbump/revbump.readme
[generic]                  167     453  36.9% -lh5- cd66 Sep 12 14:58 revbump/revbump_rev.h
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total        14 files   40576   96203  42.2%            Sep 12 17:52

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>