File: README.Debian

package info (click to toggle)
fossil 1%3A2.8-1
  • links: PTS
  • area: main
  • in suites: buster
  • size: 22,508 kB
  • sloc: ansic: 267,238; tcl: 12,722; sh: 5,623; makefile: 3,986; asm: 3,071; ada: 1,681; pascal: 1,139; cpp: 1,001; cs: 879; sql: 376; perl: 224; xml: 95
file content (65 lines) | stat: -rw-r--r-- 2,013 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
Version taken as

   1:$(cat VERSION)

The debianized sources are tracked in fossil, of course.

Brief "cheat sheet" of relevant fossil commands.

 ## FOR NEW UPSTREAM RELEASE

 # fetch & merge new upstream release
 uscan
 EPOCH=1
 VER=xxx
 DEBVER=1
 fossil pull https://www.fossil-scm.org
 ID=fossil-commit-id	# find via: fossil timeline -t ci -n 400 | more
			# then search for the tag "version-xxx"
 fossil merge version-${VER}
 fossil commit -m "merge version-${VER}"
 debchange --distribution unstable --newversion=${EPOCH}:${VER}-${DEBVER} New upstream version
 fossil commit -m 'update debian/changelog'

 # build debian release
 dpkg-buildpackage -i.fslckout -i_FOSSIL_
 # but its better to use a chroot
 pdebuild --pbuilder cowbuilder --debbuildopts "-i.fslckout -i_FOSSIL_"
 sudo mv --no-clobber /var/cache/pbuilder/result/fossil* ../

 # tag debian release
 fossil tag add debian_${EPOCH}:${VER}-${DEBVER} debian

 # push/pull to/from debian repository (modify URL if necessary)
 fossil sync ssh://people.debian.org/~bap/public_html/fossil.fsl

 ## TO START DEVELOPMENT

 # create local repository by cloning mine
 #  (Would have made a repo on chiselapp.com but couldn't get it to
 #  work for me on a repo of this size.  But this was a while ago...)
 wget https://people.debian.org/~bap/fossil.fsl

 # make a working checkout
 sudo apt install fossil
 mkdir fossil
 cd fossil
 fossil open ../fossil.fsl
 fossil co debian
 fossil user password ${USER} ${PWD}
 fossil set manifest on		# needed as of approx ver 2010.11.11.133638

 ## MISC

 # pull/view upstream development
 fossil pull http://www.fossil-scm.org/
 fossil timeline -t ci -n 40

 # create upstream tarball (not needed if using upstream release tarball)
 fossil co trunk
 tar --exclude .fslckout --exclude _FOSSIL_ -C .. -zcf fossil_${VER}.orig.tar.gz fossil

 # upstream spelling error to consider addressing:
 rgrep -i '\(respository\|recepient\|accidently\)'

 -- Barak A. Pearlmutter <bap@debian.org>, Mon,  1 Oct 2018 16:54:44 +0100