[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnuastro-commits] master 076b5a1 1/2: conf files end with new-line, De
From: |
Mohammad Akhlaghi |
Subject: |
[gnuastro-commits] master 076b5a1 1/2: conf files end with new-line, Debian packaging checklist |
Date: |
Wed, 10 May 2017 08:55:37 -0400 (EDT) |
branch: master
commit 076b5a17cf6455d4acbd2ae5720a4fb145e18e90
Author: Mohammad Akhlaghi <address@hidden>
Commit: Mohammad Akhlaghi <address@hidden>
conf files end with new-line, Debian packaging checklist
In preparations for the Debian packaging, another checklist was added to
`doc/release-checklist.txt' only devoted packaging for Debian. While trying
out the process, I corrected some packaging warnings about some
configuration files not ending with a new-line.
---
bin/convertt/astconvertt.conf | 2 +-
bin/convolve/astconvolve.conf | 2 +-
bin/crop/astcrop.conf | 2 +-
bin/mknoise/astmknoise.conf | 2 +-
bin/noisechisel/astnoisechisel.conf | 2 +-
bin/statistics/aststatistics.conf | 2 +-
bin/warp/astwarp.conf | 2 +-
doc/release-checklist.txt | 63 +++++++++++++++++++++++++++++++++++++
8 files changed, 70 insertions(+), 7 deletions(-)
diff --git a/bin/convertt/astconvertt.conf b/bin/convertt/astconvertt.conf
index a2f7d42..084e677 100644
--- a/bin/convertt/astconvertt.conf
+++ b/bin/convertt/astconvertt.conf
@@ -28,4 +28,4 @@
# Flux:
invert 0
-# Common options
\ No newline at end of file
+# Common options
diff --git a/bin/convolve/astconvolve.conf b/bin/convolve/astconvolve.conf
index d8e2ba0..4cccb6a 100644
--- a/bin/convolve/astconvolve.conf
+++ b/bin/convolve/astconvolve.conf
@@ -26,4 +26,4 @@
# Operating mode:
domain frequency
- minsharpspec 0.005
\ No newline at end of file
+ minsharpspec 0.005
diff --git a/bin/crop/astcrop.conf b/bin/crop/astcrop.conf
index 123e602..3c46861 100644
--- a/bin/crop/astcrop.conf
+++ b/bin/crop/astcrop.conf
@@ -29,4 +29,4 @@
suffix _cropped.fits
# Operating mode:
- mode wcs
\ No newline at end of file
+ mode wcs
diff --git a/bin/mknoise/astmknoise.conf b/bin/mknoise/astmknoise.conf
index 3cac69f..232c3e7 100644
--- a/bin/mknoise/astmknoise.conf
+++ b/bin/mknoise/astmknoise.conf
@@ -25,4 +25,4 @@
# Output:
type float32
-# Common options
\ No newline at end of file
+# Common options
diff --git a/bin/noisechisel/astnoisechisel.conf
b/bin/noisechisel/astnoisechisel.conf
index 23a78e9..67a88aa 100644
--- a/bin/noisechisel/astnoisechisel.conf
+++ b/bin/noisechisel/astnoisechisel.conf
@@ -50,4 +50,4 @@
objbordersn 1
# Operating mode
- continueaftercheck 0
\ No newline at end of file
+ continueaftercheck 0
diff --git a/bin/statistics/aststatistics.conf
b/bin/statistics/aststatistics.conf
index d2ad1bb..395bf43 100644
--- a/bin/statistics/aststatistics.conf
+++ b/bin/statistics/aststatistics.conf
@@ -29,4 +29,4 @@
numasciibins 70
asciiheight 10
numbins 100
- mirrordist 1.5
\ No newline at end of file
+ mirrordist 1.5
diff --git a/bin/warp/astwarp.conf b/bin/warp/astwarp.conf
index 67a7c7d..a43f8fd 100644
--- a/bin/warp/astwarp.conf
+++ b/bin/warp/astwarp.conf
@@ -23,4 +23,4 @@
coveredfrac 1.0
# Common parameters
- type float32
\ No newline at end of file
+ type float32
diff --git a/doc/release-checklist.txt b/doc/release-checklist.txt
index 0b6a38d..7c29c49 100644
--- a/doc/release-checklist.txt
+++ b/doc/release-checklist.txt
@@ -105,3 +105,66 @@ all the commits needed for this release have been
completed.
- Announce the release on address@hidden', address@hidden' and
Savannah news.
+
+
+
+
+
+
+
+
+
+
+Packaging in Debian
+===================
+
+Steps necessary to Package Gnuastro for Debian.
+
+ - If you don't already have the Git repository, clone it with this
+ command:
+
+ $ git clone git://anonscm.debian.org/debian-astro/packages/gnuastro.git
+
+ - A `gnuastro' directory will be built, for the moment don't go in it,
+ we'll keep all out temporary files in this parent directory. Put a copy
+ of the tarball to be packaged in this directory and make a standard
+ symbolic link to it (IMPORTANT: the `dash' is changed to an `underscore'
+ and an `orig' is added), then go into the cloned directory.
+
+ $ ln -s gnuastro-XXXX.tar.gz gnuastro_XXXX.orig.tar.gz
+ $ cd gnuastro
+
+ - You need to checkout to the `upstream' branch, clean everything that was
+ in it and inject this release's raw package source files into it as
+ shown below. Note that we should run `rm -rf ./*', because the `.git'
+ hidden directory must stay.
+
+ $ git checkout upstream
+ $ rm * # To delete all the non-hidden files
+ $ rm .autom4te.cfg .dir-locals.el .git .tarball-version .version
+ $ rm -rf bin/ bootstrapped/ doc/ lib/ tests/
+ $ tar xf ../gnuastro_XXXX.orig.tar.gz --strip-components=1
+
+ - We now need to commit these into the `upstream' branch of the Git
+ history, tag it and run `pristine-tar' on it.
+
+ $ git add --all
+ $ git commit -m "Upstream Gnuastro XXXX"
+ $ git tag upstream/XXXX
+ $ pristine-tar commit ../gnuastro_XXXX.orig.tar.gz
+
+ - We are done with the `upstream' branch and can checkout `master':
+
+ $ git checkout master
+
+ - Update the ChangeLog (similar to previous entries):
+
+ $ emacs debian/changelog
+
+ - Update your version of `pbuilder':
+
+ $ sudo pbuilder update
+
+ - Run `pdebuild':
+
+ $ pdebuild