[Piuparts-commits] [piuparts] 01/01: Switch ubuntu default to 'trusty'. (Closes: #744848)

Holger Levsen holger at moszumanska.debian.org
Tue Apr 15 13:57:28 UTC 2014


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch develop
in repository piuparts.

commit 8a1089a64e06838ce7516b43c5f10384b089a1dc
Author: Holger Levsen <holger at layer-acht.org>
Date:   Tue Apr 15 15:57:21 2014 +0200

    Switch ubuntu default to 'trusty'. (Closes: #744848)
---
 debian/changelog       | 1 +
 piuparts.py            | 2 +-
 tests/test_piuparts.py | 2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index f29f314..89703e4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,7 @@ piuparts (0.58) UNRELEASED; urgency=low
     apache2.4 transition. (Closes: #712384)
   * piuparts.1.txt: explain that --do-not-verify-signatures also causes
     APT::Get::AllowUnauthenticated to be set accordingly in the chroots.
+  * Switch ubuntu default to 'trusty'. (Closes: #744848)
 
   [ Andreas Beckmann ]
   * piupartslib/packagesdb.py:
diff --git a/piuparts.py b/piuparts.py
index 524023d..08d8085 100644
--- a/piuparts.py
+++ b/piuparts.py
@@ -109,7 +109,7 @@ class UbuntuDefaults(Defaults):
         return [("http://archive.ubuntu.com/ubuntu", self.get_components())]
 
     def get_distribution(self):
-        return ["saucy"]
+        return ["trusty"]
 
     def get_keyring(self):
         return "/usr/share/keyrings/ubuntu-archive-keyring.gpg"
diff --git a/tests/test_piuparts.py b/tests/test_piuparts.py
index ecbb1a5..47fcce7 100644
--- a/tests/test_piuparts.py
+++ b/tests/test_piuparts.py
@@ -42,7 +42,7 @@ class DefaultsFactoryTests(unittest.TestCase):
         self.assertEqual(defaults.get_keyring(), '/usr/share/keyrings/ubuntu-archive-keyring.gpg')
         self.assertEqual(defaults.get_components(), ["main", "universe", "restricted", "multiverse"])
         self.assertEqual(defaults.get_mirror(), [("http://archive.ubuntu.com/ubuntu", ["main", "universe", "restricted", "multiverse"])])
-        self.assertEqual(defaults.get_distribution(), ['saucy'])
+        self.assertEqual(defaults.get_distribution(), ['trusty'])
 
     def test_new_defaults_panics_with_unknown_flavor(self):
         # mock the guess_flavor function as it runs lsb_release in a subprocess

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/piuparts/piuparts.git



More information about the Piuparts-commits mailing list