Koha-clms/debian
Mason James 3e7c839714
Bug 40039: Add production enhancements to build-git-snapshot tool
this patch adds some useful features to allow the build-git-snapshot tool to build production packages

the patch adds the following options:

     --urgency, -u
        the urgency string for the resulting package. Default is '$urgency'.

    --incr, -i
        set debian revision (default = '-1')

    --(no)autochangelog
        whether or not to update the debian/changelog file.
        Default is to update it.

note: this patch does not change any of the existing behaviour of the tool

test plan to come...

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2025-06-30 08:30:46 -06:00
..
docs Bug 37787: Undocument koha-worker --queue elastic_index 2024-10-23 19:14:55 +02:00
scripts Bug 39961: (follow-up) Make `koha-disable` stop all queues 2025-06-06 09:41:19 -06:00
source
…
templates Bug 39206: Modify koha-conf templates 2025-06-26 11:09:55 -06:00
README.build
…
bd-to-depends
…
build-git-snapshot Bug 40039: Add production enhancements to build-git-snapshot tool 2025-06-30 08:30:46 -06:00
changelog
…
clean
…
compat
…
control Bug 39367: Add new dependency 2025-04-23 09:35:16 +02:00
control.in Bug 25691: Replace link to non-existing README with wiki link 2024-01-16 12:06:08 +01:00
copyright
…
koha-common.README.Debian
…
koha-common.bash-completion
…
koha-common.config
…
koha-common.cron.d
…
koha-common.cron.daily Bug 39250: Add archive_purchase_suggestions.pl to cron.daily commented 2025-03-07 15:41:17 +01:00
koha-common.cron.hourly
…
koha-common.cron.monthly
…
koha-common.default
…
koha-common.dirs
…
koha-common.docs Bug 35713: Remove outdated debian/docs/LEEME.Debian file 2024-01-11 12:10:45 +01:00
koha-common.init
…
koha-common.install
…
koha-common.links
…
koha-common.logrotate
…
koha-common.postinst Bug 36954: (follow-up) Return to the two logfiles pattern 2025-02-18 10:55:27 +01:00
koha-common.preinst
…
koha-common.service
…
koha-common.templates
…
koha-core.bash-completion
…
koha-core.config
…
koha-core.default
…
koha-core.dirs
…
koha-core.docs Bug 35713: Remove outdated debian/docs/LEEME.Debian file 2024-01-11 12:10:45 +01:00
koha-core.init
…
koha-core.install
…
koha-core.links
…
koha-core.logrotate
…
koha-core.postinst Bug 36954: (follow-up) Return to the two logfiles pattern 2025-02-18 10:55:27 +01:00
koha-core.preinst
…
koha-core.templates
…
koha-full.postinst
…
koha-post-install-setup
…
koha.README.Debian
…
koha.apache-ports
…
koha.config
…
koha.dirs
…
koha.install
…
koha.postinst Bug 25691: Replace link to non-existing README with wiki link 2024-01-16 12:06:08 +01:00
koha.postrm
…
koha.prerm
…
list-deps Bug 33018: debian package tidy-up 2024-12-20 18:33:22 +01:00
rules
…
unavailable.html
…
update-control
…

README.build

In order to build .deb packages, following debian packages need to be present
(installed): 
devscripts
pbuilder
dh-make
fakeroot

As root (or sudo) execute:
pbuilder create

Executing build-git-snapshot without any arguments will leave package and the
rest in some pbuilder dir, eg. /var/cache/pbuilder/result It is highly
recommended that --buildresult option is used.