[Bug 1309591] Re: ubuntu-distro-info --devel fails (distro-info data out of date)
This bug was fixed in the package distro-info - 0.13 --- distro-info (0.13) unstable; urgency=medium [ Benjamin Drung ] * ubuntu-distro-info: Add --latest option. Use this option instead of --devel if you want to fallback to --stable for outdated data. (LP: #1309591) * distro_info_test/test_help.py: Close file descriptors at the end. [ Dimitri John Ledkov ] * Add --series lookup. -- Benjamin Drung Sat, 10 May 2014 20:55:33 +0200 ** Changed in: distro-info (Ubuntu) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1309591 Title: ubuntu-distro-info --devel fails (distro-info data out of date) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bikeshed/+bug/1309591/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1309591] Re: ubuntu-distro-info --devel fails (distro-info data out of date)
** Branch linked: lp:debian/distro-info -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1309591 Title: ubuntu-distro-info --devel fails (distro-info data out of date) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bikeshed/+bug/1309591/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1309591] Re: ubuntu-distro-info --devel fails (distro-info data out of date)
I reopen the bug against bikeshed. Please use "ubuntu-disto-info --latest" instead of "distro-info --devel || distro-info --all | tail -n 1" ** Changed in: bikeshed (Ubuntu) Status: Fix Released => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1309591 Title: ubuntu-distro-info --devel fails (distro-info data out of date) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bikeshed/+bug/1309591/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1309591] Re: ubuntu-distro-info --devel fails (distro-info data out of date)
--latest option implemented in distro-info 0.13. ** Changed in: distro-info (Ubuntu) Status: Confirmed => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1309591 Title: ubuntu-distro-info --devel fails (distro-info data out of date) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bikeshed/+bug/1309591/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1309591] Re: ubuntu-distro-info --devel fails (distro-info data out of date)
This bug was fixed in the package bikeshed - 1.45-0ubuntu1 --- bikeshed (1.45-0ubuntu1) utopic; urgency=medium * cloud-sandbox: - safer use of ubuntu-distro-info, from Scott Moser * vigpg, wifi-status.1: -- Dustin KirklandWed, 23 Apr 2014 18:17:19 -0500 ** Changed in: bikeshed (Ubuntu) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1309591 Title: ubuntu-distro-info --devel fails (distro-info data out of date) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bikeshed/+bug/1309591/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1309591] Re: ubuntu-distro-info --devel fails (distro-info data out of date)
Would it be a good idea to add a new --latest option that will roughly be equivilent to "distro-info --devel || distro-info --stable || distro- info --supported | tail -n 1"? Then the application developers can decide what they want and use either --latest or --devel. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1309591 Title: ubuntu-distro-info --devel fails (distro-info data out of date) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bikeshed/+bug/1309591/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1309591] Re: ubuntu-distro-info --devel fails (distro-info data out of date)
Fine. I think it's stupid that every application has to do this itself. This could be documented behaviour. But there you go. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1309591 Title: ubuntu-distro-info --devel fails (distro-info data out of date) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bikeshed/+bug/1309591/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1309591] Re: ubuntu-distro-info --devel fails (distro-info data out of date)
I am against falling back to reporting the stable release if the distribution data is outdated, because it is just a guess and this guess could be wrong. Application that use distro-info should decide what to do in case of outdated distribution data. cloud-sandbox should fall back to use stable (and then to use the latest supported one): release="$(ubuntu-distro-info --devel || ubuntu-distro-info --stable || ubuntu-distro-info --supported | tail -n 1) daily" -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1309591 Title: ubuntu-distro-info --devel fails (distro-info data out of date) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bikeshed/+bug/1309591/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1309591] Re: ubuntu-distro-info --devel fails (distro-info data out of date)
** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1309591 Title: ubuntu-distro-info --devel fails (distro-info data out of date) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bikeshed/+bug/1309591/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1309591] Re: ubuntu-distro-info --devel fails (distro-info data out of date)
I think we should just fall back to reporting stable in this case. Here's a patch that does this for the command-line tool. I've not done it for the libraries, but can do if we want that too. ** Patch added: "0001-ubuntu-distro-info-devel-Return-stable-if-data-is-ou.patch" https://bugs.launchpad.net/ubuntu/+source/distro-info/+bug/1309591/+attachment/4093925/+files/0001-ubuntu-distro-info-devel-Return-stable-if-data-is-ou.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1309591 Title: ubuntu-distro-info --devel fails (distro-info data out of date) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bikeshed/+bug/1309591/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1309591] Re: ubuntu-distro-info --devel fails (distro-info data out of date)
** Changed in: bikeshed (Ubuntu) Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1309591 Title: ubuntu-distro-info --devel fails (distro-info data out of date) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bikeshed/+bug/1309591/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1309591] Re: ubuntu-distro-info --devel fails (distro-info data out of date)
** Branch linked: lp:bikeshed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1309591 Title: ubuntu-distro-info --devel fails (distro-info data out of date) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bikeshed/+bug/1309591/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1309591] Re: ubuntu-distro-info --devel fails (distro-info data out of date)
I hit this bug too. It's breaking the cloud-sandbox script in bikeshed. ** Also affects: bikeshed (Ubuntu) Importance: Undecided Status: New ** Changed in: bikeshed (Ubuntu) Status: New => In Progress ** Changed in: bikeshed (Ubuntu) Importance: Undecided => Medium ** Changed in: bikeshed (Ubuntu) Assignee: (unassigned) => Dustin Kirkland (kirkland) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1309591 Title: ubuntu-distro-info --devel fails (distro-info data out of date) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bikeshed/+bug/1309591/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1309591] Re: ubuntu-distro-info --devel fails (distro-info data out of date)
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: distro-info (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1309591 Title: ubuntu-distro-info --devel fails (distro-info data out of date) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bikeshed/+bug/1309591/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs