[evolvis-commits] r9392: Merging Branch_3_1 back into the trunk (at tag Branch_3_1-merge_8). ↵ That includes providing an empty sourceforge Debian package to ease↵ the transition to Gforge?=.=?UTF-8?Q?↵

mirabilos at evolvis.org mirabilos at evolvis.org
Thu Feb 24 17:24:10 CET 2011


Author: mirabilos
Date: 2011-02-24 17:24:10 +0100 (Thu, 24 Feb 2011)
New Revision: 9392

Added:
   trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-helper/migration.preinst
   trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-helper/migration.templates
   trunk/gforge_base/evolvisforge-5.1/gforge/debian/gforge-sourceforge-transition.preinst.dsfh-in
   trunk/gforge_base/evolvisforge-5.1/gforge/debian/sourceforge.preinst.dsfh-in
   trunk/gforge_base/evolvisforge-5.1/gforge/debian/sourceforge.templates.dsfh-in
Modified:
   trunk/gforge_base/evolvisforge-5.1/gforge/debian/changelog
   trunk/gforge_base/evolvisforge-5.1/gforge/debian/control
   trunk/gforge_base/evolvisforge-5.1/gforge/debian/po/POTFILES.in
   trunk/gforge_base/evolvisforge-5.1/gforge/debian/po/fr.po
   trunk/gforge_base/evolvisforge-5.1/gforge/debian/po/nl.po
   trunk/gforge_base/evolvisforge-5.1/gforge/debian/po/templates.pot
Log:
Merging Branch_3_1 back into the trunk (at tag Branch_3_1-merge_8).
That includes providing an empty sourceforge Debian package to ease
the transition to Gforge.


Modified: trunk/gforge_base/evolvisforge-5.1/gforge/debian/changelog
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/debian/changelog	2011-02-24 16:24:09 UTC (rev 9391)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/debian/changelog	2011-02-24 16:24:10 UTC (rev 9392)
@@ -1,4 +1,4 @@
-gforge (3.2.1-0+4) experimental; urgency=low
+gforge (3.2.1-0+5) experimental; urgency=low
 
   * [Roland] New upstream release.  Debian packaging still experimental at
     this stage.
@@ -8,8 +8,16 @@
   * [Roland] Also use 20031126.sql, for the "cron manager" feature.
   * [Roland] Also use 20031205.sql.
 
- -- Roland Mas <lolando at debian.org>  Mon,  1 Mar 2004 17:54:05 +0100
+ -- Roland Mas <lolando at debian.org>  Tue,  2 Mar 2004 23:23:04 +0100
 
+gforge (3.1-12) unstable; urgency=low
+
+  * [Roland] Added an empty sourceforge binary package, with some Debconf
+    magic to help people upgrading from sourceforge to gforge.
+  * [Christian] Also moved the logs in gforge-sourceforge-transition.
+
+ -- Roland Mas <lolando at debian.org>  Tue,  2 Mar 2004 23:06:02 +0100
+
 gforge (3.1-11) unstable; urgency=low
 
   * [Roland] Added exim4 support, patch from Guillem Jover

Modified: trunk/gforge_base/evolvisforge-5.1/gforge/debian/control
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/debian/control	2011-02-24 16:24:09 UTC (rev 9391)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/debian/control	2011-02-24 16:24:10 UTC (rev 9392)
@@ -207,6 +207,17 @@
 Package: gforge-sourceforge-transition
 Architecture: all
 Depends: sourceforge | sourceforge-db-postgresql
-Description: sourceforge to gforge data transition
+Description: Sourceforge to Gforge data transition
  This package will move data from your sourceforge package
  to your gforge package
+
+Package: sourceforge
+Architecture: all
+Depends: gforge-sourceforge-transition
+Description: Sourceforge to Gforge transition
+ Sourceforge has been renamed Gforge, and is no longer maintained.
+ This package is only here to help you upgrade to Gforge.  Once you
+ have installed this package and the one it depends on
+ (gforge-sourceforge-transition), your data have been saved, and you
+ can safely uninstall the "sourceforge" package and proceed to install
+ Gforge.  Your data will be migrated.

Added: trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-helper/migration.preinst
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-helper/migration.preinst	                        (rev 0)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-helper/migration.preinst	2011-02-24 16:24:10 UTC (rev 9392)
@@ -0,0 +1,18 @@
+###
+# Ask the user whether they want to upgrade from sourceforge to gforge
+# Exit if they don't
+###
+
+template=gforge/migrate_from_sourceforge
+
+db_input high $template || true
+case "$RET" in
+    "true")
+	echo "Very well.  Upgrading to Gforge."
+	;;
+    "false")
+	echo "Not upgrading to Gforge."
+	echo "Nothing should have happened yet, and you can continue using Sourceforge."
+	exit 1
+	;;
+esac

Added: trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-helper/migration.templates
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-helper/migration.templates	                        (rev 0)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-helper/migration.templates	2011-02-24 16:24:10 UTC (rev 9392)
@@ -0,0 +1,25 @@
+Template: gforge/migrate_from_sourceforge
+Type: boolean
+Default: false
+_Description: Migrate to Gforge?
+ The free software version of the Sourceforge software has been
+ renamed to "Gforge".  Accordingly, the Debian package has been
+ renamed to "gforge", and "sourceforge" is no longer supported or
+ maintained.  The transition to Gforge should be rather simple, as
+ most of the work is automated: once this package has been
+ successfully installed, just install the "gforge" package and things
+ should go smoothly.
+ .
+ You still have the option not to upgrade to Gforge yet, for instance
+ if you want to backup things beforehand.  If you refuse the upgrade,
+ nothing will happen.
+
+Template: gforge/sourceforge_empty_package
+Type: note
+_Description: Sourceforge is no more
+ Sourceforge has been renamed Gforge, and is no longer maintained as
+ free software. This "sourceforge" package is only here to help you
+ upgrade to Gforge.  Once you have installed this package and the one
+ it depends on (gforge-sourceforge-transition), your data have been
+ saved, and you can safely uninstall the "sourceforge" package and
+ proceed to install Gforge.

Added: trunk/gforge_base/evolvisforge-5.1/gforge/debian/gforge-sourceforge-transition.preinst.dsfh-in
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/debian/gforge-sourceforge-transition.preinst.dsfh-in	                        (rev 0)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/debian/gforge-sourceforge-transition.preinst.dsfh-in	2011-02-24 16:24:10 UTC (rev 9392)
@@ -0,0 +1,39 @@
+#! /bin/sh
+# preinst script for gforge-sourceforge-transition
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <new-preinst> `install'
+#        * <new-preinst> `install' <old-version>
+#        * <new-preinst> `upgrade' <old-version>
+#        * <old-preinst> `abort-upgrade' <new-version>
+#
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+. /usr/share/debconf/confmodule
+
+case "$1" in
+    install|upgrade)
+#DSFHELPER:migration#
+    ;;
+
+    abort-upgrade)
+    ;;
+
+    *)
+        echo "preinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0

Modified: trunk/gforge_base/evolvisforge-5.1/gforge/debian/po/POTFILES.in
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/debian/po/POTFILES.in	2011-02-24 16:24:09 UTC (rev 9391)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/debian/po/POTFILES.in	2011-02-24 16:24:10 UTC (rev 9392)
@@ -16,6 +16,7 @@
 [type: gettext/rfc822deb] dsf-helper/host-variables.templates
 [type: gettext/rfc822deb] dsf-helper/ldap-variables.templates
 [type: gettext/rfc822deb] dsf-helper/lists-variables.templates
+[type: gettext/rfc822deb] dsf-helper/migration.templates
 [type: gettext/rfc822deb] dsf-helper/replace-files.templates
 [type: gettext/rfc822deb] dsf-helper/shellhost-variables.templates
 [type: gettext/rfc822deb] dsf-helper/users-variables.templates

Modified: trunk/gforge_base/evolvisforge-5.1/gforge/debian/po/fr.po
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/debian/po/fr.po	2011-02-24 16:24:09 UTC (rev 9391)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/debian/po/fr.po	2011-02-24 16:24:10 UTC (rev 9392)
@@ -15,8 +15,8 @@
 msgstr ""
 "Project-Id-Version: gforge 3.0-2\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2003-10-26 10:08+0100\n"
-"PO-Revision-Date: 2003-10-21 21:42+0200\n"
+"POT-Creation-Date: 2004-03-02 11:21+0100\n"
+"PO-Revision-Date: 2004-03-02 11:16+0100\n"
 "Last-Translator: Christian Perrier <bubulle at debian.org>\n"
 "Language-Team: French <debian-l10n-french at lists.debian.org>\n"
 "MIME-Version: 1.0\n"
@@ -623,6 +623,66 @@
 
 #. Type: boolean
 #. Description
+#: ../dsf-helper/migration.templates:4
+msgid "Migrate to Gforge?"
+msgstr "Migrer vers Gforge ?"
+
+#. Type: boolean
+#. Description
+#: ../dsf-helper/migration.templates:4
+#, fuzzy
+msgid ""
+"The free software version of the Sourceforge software has been renamed to "
+"\"Gforge\".  Accordingly, the Debian package has been renamed to \"gforge\", "
+"and \"sourceforge\" is no longer supported or maintained.  The transition to "
+"Gforge should be rather simple, as most of the work is automated: once this "
+"package has been successfully installed, just install the \"gforge\" package "
+"and things should go smoothly."
+msgstr ""
+"La version libre du logiciel Sourceforge a été rebaptisée « Gforge ».  Les "
+"paquets Debian ont été renommés en conséquence, et le paquet « sourceforge » "
+"n'est plus maintenu.  La transition vers Gforge est normalement simple, car "
+"le plus gros du travail est automatisé.  Une fois que ce paquet a été "
+"installé avec succès, vous pouvez installer le paquet « gforge », et les "
+"choses devraient se dérouler sans problème."
+
+#. Type: boolean
+#. Description
+#: ../dsf-helper/migration.templates:4
+msgid ""
+"You still have the option not to upgrade to Gforge yet, for instance if you "
+"want to backup things beforehand.  If you refuse the upgrade, nothing will "
+"happen."
+msgstr ""
+"Vous avez toujours la possibilité de ne pas migrer vers Gforge tout de "
+"suite, par exemple si vous souhaitez sauvegarder des données auparavant.  Si "
+"vous refusez cette migration, rien ne se passera."
+
+#. Type: note
+#. Description
+#: ../dsf-helper/migration.templates:19
+msgid "Sourceforge is no more"
+msgstr "Sourceforge n'est plus"
+
+#. Type: note
+#. Description
+#: ../dsf-helper/migration.templates:19
+msgid ""
+"Sourceforge has been renamed Gforge, and is no longer maintained as free "
+"software. This \"sourceforge\" package is only here to help you upgrade to "
+"Gforge.  Once you have installed this package and the one it depends on "
+"(gforge-sourceforge-transition), your data have been saved, and you can "
+"safely uninstall the \"sourceforge\" package and proceed to install Gforge."
+msgstr ""
+"La version libre du logiciel Sourceforge a été rebaptisée « Gforge ».  Ce "
+"paquet « sourceforge » n'est présent que pour faciliter la migration vers "
+"Gforge.  Une fois ce paquet, et celui dont il dépend (gforge-sourceforge-"
+"transition), correctement installés, vos données ont été sauvegardées, et "
+"vous pouvez sereinement désinstaller le paquet « sourceforge » et installer "
+"« gforge » à sa place."
+
+#. Type: boolean
+#. Description
 #: ../dsf-helper/replace-files.templates:4
 msgid ""
 "In order for Gforge to fully work, some changes must be made to the ${file} "

Modified: trunk/gforge_base/evolvisforge-5.1/gforge/debian/po/nl.po
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/debian/po/nl.po	2011-02-24 16:24:09 UTC (rev 9391)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/debian/po/nl.po	2011-02-24 16:24:10 UTC (rev 9392)
@@ -15,7 +15,7 @@
 msgstr ""
 "Project-Id-Version: gforge\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2003-10-26 10:08+0100\n"
+"POT-Creation-Date: 2004-03-02 11:21+0100\n"
 "PO-Revision-Date: 2004-02-10 18:41+0100\n"
 "Last-Translator: Bart Cornelis <cobaco at linux.be>\n"
 "Language-Team: debian-l10n-dutch <debian-l10n-dutch at lists.debian.org>\n"
@@ -611,6 +611,50 @@
 
 #. Type: boolean
 #. Description
+#: ../dsf-helper/migration.templates:4
+msgid "Migrate to Gforge?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../dsf-helper/migration.templates:4
+msgid ""
+"The free software version of the Sourceforge software has been renamed to "
+"\"Gforge\".  Accordingly, the Debian package has been renamed to \"gforge\", "
+"and \"sourceforge\" is no longer supported or maintained.  The transition to "
+"Gforge should be rather simple, as most of the work is automated: once this "
+"package has been successfully installed, just install the \"gforge\" package "
+"and things should go smoothly."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../dsf-helper/migration.templates:4
+msgid ""
+"You still have the option not to upgrade to Gforge yet, for instance if you "
+"want to backup things beforehand.  If you refuse the upgrade, nothing will "
+"happen."
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../dsf-helper/migration.templates:19
+msgid "Sourceforge is no more"
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../dsf-helper/migration.templates:19
+msgid ""
+"Sourceforge has been renamed Gforge, and is no longer maintained as free "
+"software. This \"sourceforge\" package is only here to help you upgrade to "
+"Gforge.  Once you have installed this package and the one it depends on "
+"(gforge-sourceforge-transition), your data have been saved, and you can "
+"safely uninstall the \"sourceforge\" package and proceed to install Gforge."
+msgstr ""
+
+#. Type: boolean
+#. Description
 #: ../dsf-helper/replace-files.templates:4
 msgid ""
 "In order for Gforge to fully work, some changes must be made to the ${file} "

Modified: trunk/gforge_base/evolvisforge-5.1/gforge/debian/po/templates.pot
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/debian/po/templates.pot	2011-02-24 16:24:09 UTC (rev 9391)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/debian/po/templates.pot	2011-02-24 16:24:10 UTC (rev 9392)
@@ -16,7 +16,7 @@
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2003-10-26 10:08+0100\n"
+"POT-Creation-Date: 2004-03-02 11:21+0100\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
 "Language-Team: LANGUAGE <LL at li.org>\n"
@@ -535,6 +535,50 @@
 
 #. Type: boolean
 #. Description
+#: ../dsf-helper/migration.templates:4
+msgid "Migrate to Gforge?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../dsf-helper/migration.templates:4
+msgid ""
+"The free software version of the Sourceforge software has been renamed to "
+"\"Gforge\".  Accordingly, the Debian package has been renamed to \"gforge\", "
+"and \"sourceforge\" is no longer supported or maintained.  The transition to "
+"Gforge should be rather simple, as most of the work is automated: once this "
+"package has been successfully installed, just install the \"gforge\" package "
+"and things should go smoothly."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../dsf-helper/migration.templates:4
+msgid ""
+"You still have the option not to upgrade to Gforge yet, for instance if you "
+"want to backup things beforehand.  If you refuse the upgrade, nothing will "
+"happen."
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../dsf-helper/migration.templates:19
+msgid "Sourceforge is no more"
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../dsf-helper/migration.templates:19
+msgid ""
+"Sourceforge has been renamed Gforge, and is no longer maintained as free "
+"software. This \"sourceforge\" package is only here to help you upgrade to "
+"Gforge.  Once you have installed this package and the one it depends on "
+"(gforge-sourceforge-transition), your data have been saved, and you can "
+"safely uninstall the \"sourceforge\" package and proceed to install Gforge."
+msgstr ""
+
+#. Type: boolean
+#. Description
 #: ../dsf-helper/replace-files.templates:4
 msgid ""
 "In order for Gforge to fully work, some changes must be made to the ${file} "

Added: trunk/gforge_base/evolvisforge-5.1/gforge/debian/sourceforge.preinst.dsfh-in
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/debian/sourceforge.preinst.dsfh-in	                        (rev 0)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/debian/sourceforge.preinst.dsfh-in	2011-02-24 16:24:10 UTC (rev 9392)
@@ -0,0 +1,40 @@
+#! /bin/sh
+# preinst script for sourceforge
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <new-preinst> `install'
+#        * <new-preinst> `install' <old-version>
+#        * <new-preinst> `upgrade' <old-version>
+#        * <old-preinst> `abort-upgrade' <new-version>
+#
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+. /usr/share/debconf/confmodule
+
+case "$1" in
+    install|upgrade)
+	db_input medium gforge/sourceforge_empty_package
+	db_stop
+    ;;
+
+    abort-upgrade)
+    ;;
+
+    *)
+        echo "preinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0

Added: trunk/gforge_base/evolvisforge-5.1/gforge/debian/sourceforge.templates.dsfh-in
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/debian/sourceforge.templates.dsfh-in	                        (rev 0)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/debian/sourceforge.templates.dsfh-in	2011-02-24 16:24:10 UTC (rev 9392)
@@ -0,0 +1 @@
+#DSFHELPER:migration#



More information about the evolvis-commits mailing list