Bug#762934: Models: Refactor models to contain only ORM abstraction

2015-03-05 Thread Orestis Ioannou
Hello, I didn't know someone else was working on this. I am sorry if I am double-working. Here is my patch. Cheers, Orestis From 659479c85c91a32e6c645549766b98e4bdcc9717 Mon Sep 17 00:00:00 2001 From: Orestis Ioannou Date: Thu, 5 Mar 2015 09:03:09 +0100 Subject: [PATCH] Models: Refactor m

Bug#761867: Webapp: Add conjunctive search for ctags

2015-03-12 Thread Orestis Ioannou
, package_names, packages WHERE files.package_id = packages.id AND files.id IN (:id_1, :id_2, :id_3, :id_4) AND packages.name_id = package_names.id Cheers From 34e6c018afeba3e633afebe80a77ca4e9a777a59 Mon Sep 17 00:00:00 2001 From: Orestis Ioannou Date: Thu, 12 Mar 2015 13:53:34 +0100 Subject: [PATCH

Bug#762934: Models: Refactor models to contain only ORM abstraction

2015-03-19 Thread Orestis Ioannou
. Hence this patch implements this approach and refactors the two views. From 0af68510211e854ac1de432cd181314266dddbc2 Mon Sep 17 00:00:00 2001 From: Orestis Ioannou Date: Mon, 16 Mar 2015 22:51:26 +0100 Subject: [PATCH] web app: refactor models and views to match new abstraction layer Add

Bug#761869: [Patch] statistics: improve time execution using group by query

2015-03-27 Thread Orestis Ioannou
From: Orestis Ioannou Date: Tue, 24 Mar 2015 20:01:33 +0100 Subject: [PATCH] statistics: improve time execution using group by query Update statistics stage computed using group by query. Benchmark references in doc/update-stats-query.bench.sql Closes: #761869 --- debsources/statistics.py

Bug#761869: error in previous message

2015-03-29 Thread Orestis Ioannou
There was a mistake in my previous message > There is still a minor issue with this patch: We cannot compute > statistics using the group by query (as we will count multiple times > each package) and so we still need the previous methods to exist. We cannot compute statistics - for the suite 'all'

Bug#783469: More statistics about packages sizes

2015-05-04 Thread Orestis Ioannou
Hello, I ve been playing around with this bug :) At first I thought I'd calculate the quartiles and create some tables and then plot the data using boxplots. I managaed to generate the tables but then i found out that pyplot's boxplot uses as input the data itself and not the quartiles in questio

Bug#783469: More statistics about packages sizes

2015-05-05 Thread Orestis Ioannou
Hey, On 05/05/2015 04:34 PM, Lucas Nussbaum wrote: > Hi, > > On 04/05/15 at 23:11 +0200, Orestis Ioannou wrote: [...] >> >> - Do not create any summary table with these values and keep only the >> boxplot. Lucas what do you think on that? You mentioned generating a >

Bug#779402: [Patch] vendor/debian: Replace the call to the old PTS cgi script for codesearch

2015-08-20 Thread Orestis Ioannou
Hey, I ve implemented this replacement. You may find the patch attached Cheers, Orestis From 4847f66d6fdb38406a13a5bec165b3caa64d4ef4 Mon Sep 17 00:00:00 2001 From: Orestis Ioannou Date: Thu, 20 Aug 2015 09:22:01 +0200 Subject: [PATCH] vendor/debian: Replace old PTS cgi script for codesearch

Bug#779402: [Patch] vendor/debian: Replace the call to the old PTS cgi script for codesearch

2015-08-24 Thread Orestis Ioannou
the page displayed has some sort of error message (and possibly use > something else than HTTP 404 which is misleading, better use > HttpResponseBadRequest) > Added some tests as well, hope they are what you suggested. I attached the new patch as well. Cheers, Orestis From 1c8538a

Bug#788251: [PATCH] Make package search case insensitive

2015-08-26 Thread Orestis Ioannou
Hello, Here's a patch that transforms the package parameter to lower case characters to enable case insensitive search. Cheers, Orestis From c9d48dbc2123977981808d4342f3b77083a8ac71 Mon Sep 17 00:00:00 2001 From: Orestis Ioannou Date: Wed, 26 Aug 2015 13:55:30 +0200 Subject: [PATCH]

Bug#756766: Initial work-patch on this bug

2015-09-02 Thread Orestis Ioannou
From 9ee2c25655e7f2a8a82f20be35635095000430ad Mon Sep 17 00:00:00 2001 From: Orestis Ioannou Date: Wed, 2 Sep 2015 10:38:10 +0200 Subject: [PATCH] Add pagination for the package news --- distro_tracker/core/panels.py | 15 +++- .../core/templates/core/package_news.html

Bug#756766: Initial work-patch on this bug

2015-09-07 Thread Orestis Ioannou
factorize as much code as possible both in the templates and in the view-panel. I also added some tests. The tests for the view and the panel are quite similar. I am not sure if there's a better way to do this. Cheers, Orestis From 04006d9c10502af8a629cbf6dac9c0777d528023 Mon Sep 17 00:0

Bug#756766: Initial work-patch on this bug

2015-10-18 Thread Orestis Ioannou
Hello, I reworked most of the patch, using the ListView and factorising most of the code. Let me know if this needs more work :) Cheers, Orestis From 604f9981bc8630b3a21fb55ca5c35780d3094f40 Mon Sep 17 00:00:00 2001 From: Orestis Ioannou Date: Wed, 2 Sep 2015 10:38:10 +0200 Subject: [PATCH

Bug#756766: Initial work-patch on this bug

2015-11-11 Thread Orestis Ioannou
eers, Orestis From e0163800224b5d3e490b6358b25cb37868031fd2 Mon Sep 17 00:00:00 2001 From: Orestis Ioannou Date: Wed, 2 Sep 2015 10:38:10 +0200 Subject: [PATCH 1/2] Add support for browsing package news Packages now have their own specific news page accessible by the respective panel in the

Bug#810279: qa.debian.org: timeout error when generating SPDX document for large packages

2016-01-07 Thread Orestis Ioannou
Package: qa.debian.org Severity: normal Usertags: debsources When trying to generate a SPDX document for large packages it results in a timeout. Once the copyright BP has its own DB retrieving the license info from the DB might solve the issue. -- System Information: Debian Release: 8.2 APT

Bug#810312: tracker.debian.org: Add debian/copyright link

2016-01-08 Thread Orestis Ioannou
Linux 3.16.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) >From 015cf0331508af79cd2afea4ab384964347ba5d0 Mon Sep 17 00:00:00 2001 From: Orestis Ioannou Date: Sat, 2 Jan 2016 1

Bug#810312: tracker.debian.org: Add debian/copyright link

2016-01-08 Thread Orestis Ioannou
On 01/08/2016 11:40 AM, Mattia Rizzolo wrote: > On Fri, Jan 08, 2016 at 09:09:01AM +0100, Orestis Ioannou wrote: >> Package: tracker.debian.org >> Severity: wishlist >> Tags: patch >> >> Dear Maintainer, >> >> I would like to access to the copyri

Bug#818792: qa.debian.org: improve license rendering

2016-03-20 Thread Orestis Ioannou
Package: qa.debian.org Severity: normal Tags: newcomer Usertags: debsources Hello, The license rendering could use some improvements: * As seen at http://sources.debian.net/copyright/license/libbsd/0.8.2-1/ the copyright column has dots instead of line breaks. * As seen at http://sources.deb

Bug#818890: qa.debian.org: provide a more explicit error when querying license of a directory

2016-03-21 Thread Orestis Ioannou
Package: qa.debian.org Severity: normal Tags: newcomer User: qa.debian@packages.debian.org Usertag: debsources Hello, When trying to query a license for a directory http://sources.debian.net/copyright/file/gnubg/1.04.000-1/doc/gnubg/ instead of a file http://sources.debian.net/copyright/file/

Bug#782171: Initial performance investigation

2016-03-27 Thread Orestis Ioannou
Heya, I started looking at this since cloc would also be able to provide a matching between files and programming language. I tested cloc directly on the testdata folder and here are some results: time sloccount --addlangall testdata/ real0m10.920s user0m2.768s sys 0m2.656s time clo

Bug#782171: Benchmark of linux and chromium

2016-04-05 Thread Orestis Ioannou
Heya, So here are also some benchmarks, running sloccount and cloc on linux and chromium. (I had to run latest cloc from github because the one in testing has an older release that affects chromium :D ) - time sloccount --addlangall linux-4.4.6 Totals grouped by language (dominant language first

Bug#861379: debsources: /patches/api/list/ contains packages with no patches (such as 0xffff)

2017-04-28 Thread Orestis Ioannou
Hey, On 04/28/2017 05:38 PM, Paul Wise wrote: > On Fri, 2017-04-28 at 09:43 +0200, Matthieu Caneill wrote: > >> I'm not sure this is a bug. The /api/list endpoint was meant to list >> all packages, containing 0 or more patches. > > That doesn't seem to be useful for any use-case I can think of.