From 84170726bbb1a7dbd7cbde95e840976709441785 Mon Sep 17 00:00:00 2001 From: Martin Dvorak Date: Sat, 11 Aug 2018 08:32:41 +0200 Subject: [PATCH] Improving Aptly PPA script. --- build/debian/aptly-add-deb.sh | 55 +++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100755 build/debian/aptly-add-deb.sh diff --git a/build/debian/aptly-add-deb.sh b/build/debian/aptly-add-deb.sh new file mode 100755 index 0000000..1853ac8 --- /dev/null +++ b/build/debian/aptly-add-deb.sh @@ -0,0 +1,55 @@ +#!/bin/bash +# +# MindForger knowledge management tool +# +# Copyright (C) 2016-2018 Martin Dvorak +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +# Debian releases: https://www.debian.org/releases/ +# 6/7/8/9/10: squeeze wheezy jessie stretch buster + +echo "See 'MindForger Release Guide#Debian and my PPA' notebook for detailed steps description..." + +# list aptly repositories +#aptly repo list + +# show repository basic info +#aptly repo show mindforger-com-ppa + +# add .deb to repository +#aptly repo add mindforger-com-ppa mindforger_1.42.1-1_amd64.deb + +# show repo content w/ packages +#aptly repo show -with-packages mindforger-com-ppa + +# show snapshots +#aptly snapshot list + +# delete snapshot(s) ONLY if needed - publish must be deleted first! +#aptly snapshot drop mf-test-snapshot + +# create snapshot in the time of release - note release NAME +#aptly snapshot create mindforger-1.42.0 from repo mindforger-com-ppa + +# show published snapshots +#aptly publish list + +# delete published snapshot(s) ONLY if needed +#aptly publish drop stretch + +# publish snapshot to local filesystem so that it can be uploaded - note release NAME +#aptly publish snapshot mindforger-1.42.0 + +# eof