File: README.source

package info (click to toggle)
asis 2015-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 13,640 kB
  • sloc: ada: 140,372; makefile: 260; sh: 50; xml: 48; csh: 10
file content (46 lines) | stat: -rw-r--r-- 1,722 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
The version numbers should be considered as examples.

Use of the version control system
---------------------------------

You may either create an empty Monotone database
# mtn -d $db db init
or use an existing one.

All work on this package is tracked in the
www.ada-france.org monotone repository.
# upstream_branch=com.adacore.asis tracks the contents of AdaCore tarballs.
Revision 7e362eda8e369edabec347b9fe9381d95764f9d2 contains what uscan
would repackage for the GPL-2015 edition.
# debian_branch=org.debian.asis tracks the Debian packaging.
Note: com.adacore.asis.debian used to track the contents of the orig
DFSG tarball, but can be ignored since version 2014.

Download the branches from the server to your database.  The first
time you contact this server, monotone will show its key. You should
check that it matches f8a11727e8983cf9083c08c6a2acaa27e439dd39.
# server=www.ada-france.org
# mtn -d $db pull mtn://$server?$upstream_branch
# mtn -d $db pull mtn://$server?$debian_branch

Recreate repackaged archive from a revision.
# mtn -d $db checkout -r $revision asis-gpl-2014-src
# tar caf asis_2014.orig.tar.xz asis-gpl-2014-src --exclude=_MTN
# rm -fr asis-gpl-2014-src

Inspect the unpatched source tree.
# tar xf asis_2014.orig.tar.xz
# cd asis-gpl-2014-src
# mtn -d $db checkout -r h:$debian_branch .

Build the package
# debuild

Beware that:
- mtn status does not list all changes. Try "mtn list missing", "mtn
  list unknown", "mtn list ignored" and "mtn status" to get the
  equivalent of "git status".
- Monotone will detect changes outside debian/ caused by patches.
  Always "quilt pop -a" when preparing a commit.

 -- Nicolas Boulenguez <nicolas@debian.org>, Sun, 24 Apr 2016 02:40:04 +0200