Bug#761149: debsources: allow redirects to package versions based on suite/codename

2015-03-16 Thread Stefano Zacchiroli
On Sun, Mar 15, 2015 at 06:49:53PM -0400, Jason Pleau wrote: Here's the patch :) Thanks Jason! Merged and pushed, Cheers. -- Stefano Zacchiroli . . . . . . . z...@upsilon.cc . . . . o . . . o . o Maître de conférences . . . . . http://upsilon.cc/zack . . . o . . . o o Former Debian Project

Bug#761149: debsources: allow redirects to package versions based on suite/codename

2015-03-15 Thread Jason Pleau
Hi On 14/03/15 05:52 AM, Paul Wise wrote: On Sat, Mar 14, 2015 at 4:47 PM, Stefano Zacchiroli wrote: On Sat, Mar 14, 2015 at 09:33:55AM +0800, Paul Wise wrote: On Fri, 2015-03-13 at 19:32 +0100, Stefano Zacchiroli wrote: This has now been fixed, so I'm closing this bug. I think the suites

Bug#761149: debsources: allow redirects to package versions based on suite/codename

2015-03-14 Thread Stefano Zacchiroli
On Sat, Mar 14, 2015 at 09:33:55AM +0800, Paul Wise wrote: On Fri, 2015-03-13 at 19:32 +0100, Stefano Zacchiroli wrote: This has now been fixed, so I'm closing this bug. I think the suites should redirect to the right version, they don't yet. Please elaborate. Cheers. -- Stefano

Bug#761149: debsources: allow redirects to package versions based on suite/codename

2015-03-14 Thread Paul Wise
On Sat, Mar 14, 2015 at 4:47 PM, Stefano Zacchiroli wrote: On Sat, Mar 14, 2015 at 09:33:55AM +0800, Paul Wise wrote: On Fri, 2015-03-13 at 19:32 +0100, Stefano Zacchiroli wrote: This has now been fixed, so I'm closing this bug. I think the suites should redirect to the right version, they

Bug#761149: debsources: allow redirects to package versions based on suite/codename

2015-03-13 Thread Paul Wise
On Fri, 2015-03-13 at 19:32 +0100, Stefano Zacchiroli wrote: This has now been fixed, so I'm closing this bug. I think the suites should redirect to the right version, they don't yet. -- bye, pabs https://wiki.debian.org/PaulWise signature.asc Description: This is a digitally signed

Bug#761149: debsources: allow redirects to package versions based on suite/codename

2015-03-13 Thread Jason Pleau
Updated patches to use the latest testdata commit Cheers Jason From 16d72a6e13a6cada34215dda3a6d4946a772f232 Mon Sep 17 00:00:00 2001 From: Jason Pleau ja...@jpleau.ca Date: Sun, 16 Nov 2014 11:27:43 -0500 Subject: [PATCH 1/2] allow redirects to package versions based on suite/codename We now

Bug#761149: debsources: allow redirects to package versions based on suite/codename

2015-03-13 Thread Stefano Zacchiroli
On Thu, Mar 12, 2015 at 06:45:37PM -0400, Jason Pleau wrote: As discussed on IRC, I rebase my patches for this bug. Thanks Jason, I've made minor changes to your patches, and pushed them to the feature/suite-aliasing branch here:

Bug#761149: debsources: allow redirects to package versions based on suite/codename

2015-03-12 Thread Jason Pleau
Hello ! As discussed on IRC, I rebase my patches for this bug. I also fixed a few PEP8 issues found by flake8 Note: The redirects won't work until the app is updated with bin/debsources-update (which I guess is already setup in a crontask in production?) Cheers -- Jason Pleau From

Bug#761149: debsources: allow redirects to package versions based on suite/codename

2014-11-16 Thread Jason Pleau
Hello Stefano, I have attached two patches: One for the generated db-schema, and the other for the actual code modifications. You'll see that there's now a suites_aliases table, so that we can handle multiple aliases per suites. I updated the updater.py script to also save those aliases, but I

Bug#761149: debsources: allow redirects to package versions based on suite/codename

2014-11-14 Thread Stefano Zacchiroli
On Thu, Nov 13, 2014 at 06:30:45PM -0500, Jason Pleau wrote: Thanks for your feedback on this. I know how time consuming it can be to review someone else's code when they're new to a project, so please know I do appreciate it ! Likewise! :) The logical thing would be to create a separate

Bug#761149: debsources: allow redirects to package versions based on suite/codename

2014-11-13 Thread Stefano Zacchiroli
On Tue, Nov 11, 2014 at 07:03:17AM -0500, Jason Pleau wrote: Updated patch Hey Jason, once again thanks a lot for your patch! It looks good in general. Some comments/requests: debsources/app/views.py | 16 +++- debsources/migrate/007-to-008.sql | 14 ++

Bug#761149: debsources: allow redirects to package versions based on suite/codename

2014-11-13 Thread Jason Pleau
Hello Stefano, Thanks for your feedback on this. I know how time consuming it can be to review someone else's code when they're new to a project, so please know I do appreciate it ! I have a couple of comments / questions to some of your suggestions : On 13/11/14 04:37 PM, Stefano Zacchiroli

Bug#761149: debsources: allow redirects to package versions based on suite/codename

2014-11-11 Thread Jason Pleau
Updated patch I made a proper git patch, so that the new file would be displayed. Also cleaned up the models.py file, I had some leftover from previous strategies. It's still required to regenerate the data in testdata (make distclean dump) to account for the new column Thanks -- Jason Pleau

Bug#761149: debsources: allow redirects to package versions based on suite/codename

2014-11-09 Thread Jason Pleau
Hello ! I have spent some time on this; it seems to work well on my local install of debsources. However I am not sure how to tackle stable/testing/unstable aliases to wheezy/jessie/sid respectively. @ Stefano, do you have a suggestion on how I could achieve this? For example,

Bug#761149: debsources: allow redirects to package versions based on suite/codename

2014-11-09 Thread Jason Pleau
Hello again, I have worked a bit more on this (see attached patch) : * There's a new column in suites_info: alias. (For example, in the suite 'sid', alias will be 'unstable') * The database schema in doc/ has been updated to reflect the above * unstable/testing/stable/oldstable redirects now

Bug#761149: debsources: allow redirects to package versions based on suite/codename

2014-09-11 Thread Paul Wise
Package: qa.debian.org Severity: wishlist User: debian...@lists.debian.org Usertags: debsources It would be great if debsources could allow codenames and suites in the version number field (in addition to 'latest') so these URLs worked: http://sources.debian.net/src/linux/experimental/