Commit graph

69 commits

Author SHA1 Message Date
da6309400c Refactored check if a package name or section is blacklisted 2015-04-24 17:00:15 +02:00
7c6b5c7205 Removed component argument from DebImporter::Release.new 2015-04-24 16:59:47 +02:00
f511dfbd56 Handle missing files/URLs gracefully.
If no version of a URL is found the importer just skips the URL now instead of throwing an error.
2015-04-24 16:58:08 +02:00
c944e1ba91 Fixed parser to add proper newlines in multi-line values
Example:

Key: Value1
 Value2
 Value3

Before: "Value1Value2\nValue"
After: "Value1\nValue2\nValue"
2015-04-24 13:48:55 +02:00
8031edf2d1 Tidying up 2015-04-24 12:20:19 +02:00
f1059c520c Refactoring the search for compress files (bz2, gz, ...) 2015-04-24 11:18:21 +02:00
63e3c62356 Importer tries to read long descriptions from translations file. Still buggy.
The description text is not properly split after the first line.
2015-04-23 17:19:51 +02:00
c05b52895d Parsing of i18n file added.
Allows us to read long descriptions and add them to the package information
2015-04-23 00:29:30 +02:00
a15b2b6674 DEB importer can now handle bzip2 files 2015-04-23 00:04:06 +02:00
beeb4cd37a Stats counter added. Limiting to wanted archs. 2015-04-22 23:03:49 +02:00
8b8073bdd0 Added "debshots" namespace and list_deb_repos task 2015-04-22 21:45:36 +02:00
1034afa92d Added "/" to URL paths when reading HTTP repositories 2015-04-22 21:45:06 +02:00
13218841f4 Optimisation: only query database if the package is not obviously blacklisted
Performance gain: 20x
2015-04-20 20:33:40 +02:00
e4e8c0c0db Changed "puts" to proper logging 2015-01-04 14:20:54 +01:00
38df37057a Added migration script to add screenshots to Paperclip 2015-01-04 14:20:31 +01:00
c4390af52a Script tidied up 2014-12-07 22:49:37 +01:00
ef30db8b55 Added Rake task to import packages from Debian repositories 2014-12-05 01:23:45 +01:00
5df82dc0e5 Added library to parse Debian control files 2014-12-05 01:23:13 +01:00
3af24f56dc Blank rails 4.0 project started 2013-07-27 00:19:29 +02:00