- 01 Mar, 2017 1 commit
-
-
Sqlite3 does not support the MD5 function like MySQL does, instead of the database program hash the passwords, have Python's hashlib module do it instead. Signed-off-by:
Mark Weiman <mark.weiman@markzz.com> Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 16 Jun, 2015 1 commit
-
-
Signed-off-by:
Marcel Korpel <marcel.korpel@gmail.com> Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 14 Jun, 2015 1 commit
-
-
Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 13 Dec, 2014 1 commit
-
-
Shinya Yamaoka authored
The number of columns in the SQLs doesn't match the number of rows, so an error like below occurs: ERROR 1136 (21S01) at line 50929: Column count doesn't match value count at row 1 Signed-off-by:
Shinya Yamaoka <contact@mail.libmacro.com> Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 26 Apr, 2014 1 commit
-
-
Lukas Fleischer authored
Package conflicts, provides and replaces are now stored in the new PackageRelations table. The gendummydata script generates test entries for these relations. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 17 Apr, 2014 1 commit
-
-
Lukas Fleischer authored
In addition to parsing and storing dependencies of packages, store makedepends, checkdepends and optdepends. Every dependency (of any type) is displayed on the package details page. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 05 Apr, 2014 2 commits
-
-
Lukas Fleischer authored
Move comments from the Packages table to PackageBases. Sharing comments makes sense since they almost always refer to a source package. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
Lukas Fleischer authored
This adds a PackageBases table to the database schema and moves the following fields from the Packages table to PackageBases: * CategoryID * NumVotes * OutOfDateTS * SubmittedTS * ModifiedTS * SubmitterUID * MaintainerUID It also fixes all database accesses to comply with the new layout. Having a separate PackageBases table is the first step to split package support. By now, we create one PackageBases entry per package (where the package base has the same name as the corresponding package). When adding full support for split packages later, the package base name will be derived from the pkgbase variable and a single package base will be shared amongst all packages built from one source package. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 06 Feb, 2014 1 commit
-
-
Lukas Fleischer authored
There aren't any other subdirectories in support/. Reduce the nesting depth by moving schema/ to the top-level source directory. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 22 Dec, 2012 2 commits
-
-
canyonknight authored
Users with certain locales are unable to generate dummy data. Enforce UTF-8 encoding. Fixes FS#32986 Signed-off-by:
canyonknight <canyonknight@gmail.com> Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
canyonknight authored
Fortune calls slows down the generation of dummy data dramatically for large datasets. Read from a specified fortune file directly to avoid the need for the subprocess. Signed-off-by:
canyonknight <canyonknight@gmail.com> Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 15 Nov, 2012 1 commit
-
-
canyonknight authored
Signed-off-by:
canyonknight <canyonknight@gmail.com> Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 06 Jul, 2012 4 commits
-
-
canyonknight authored
* Introduce ability to specify number of open and closed dummy trusted user proposals * First step for eventually adding dummy votes for proposals Signed-off-by:
canyonknight <canyonknight@gmail.com> Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
canyonknight authored
There is no reason the MaintainerUID can't be treated as a string within this script. By changing to a string an "if" statement can be eliminated. Signed-off-by:
canyonknight <canyonknight@gmail.com> Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
canyonknight authored
Signed-off-by:
canyonknight <canyonknight@gmail.com> Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
canyonknight authored
* Exit with an error if fortune command isn't found * No reason to enforce the "-l" option from the fortune command Signed-off-by:
canyonknight <canyonknight@gmail.com> Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 13 Apr, 2011 1 commit
-
-
Lukas Fleischer authored
* Transform into valid Python 3.x code using 2to3. * Change shebang from "/usr/bin/python2" to "/usr/bin/python3". * Invoke with "python3" instead of "python2" in "reloadtestdb.sh". Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 12 Apr, 2011 4 commits
-
-
Lukas Fleischer authored
Package dependencies are no longer stored as references to the "Packages" table but kept directly in "PackageDepends", so the dummy data generation script should be fixed to create package names instead of references, also. Regression introduced in commit 7c91c592 . Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
elij authored
Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
elij authored
use the logging module instead of writing directly to stderr this makes the code cleaner as it removes the numerous tests for the value of DBUG, yet allows devs to control the level of output verbosity. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
elij authored
- remove need to use mysql for escaping the sql -- removing single quote should be enough - instead of using sql to fetch categories from a live database, simply consider categories an integer range, specified to the size of that in the aur-schema. Lukas: Add "CATEGORIES_COUNT" initialization. Fix random number range used in genCategory() (AUTO_INCREMENT columns are 1-based by default, not 0-based). Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 30 Mar, 2011 1 commit
-
-
Lukas Fleischer authored
Ensures there's no leftover (empty) file if something during initialization fails. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 04 Mar, 2011 2 commits
-
-
Dan McGee authored
Stop hardcoding everything everywhere for those of us that don't use the localhost/aur/aur/AUR setup. Also allow for the dummy data to be created in the reload script if it does not exist. Finally, remove two assumptions that the AUR database already exists. Signed-off-by:
Dan McGee <dan@archlinux.org> Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
Dan McGee authored
This is immensely faster when using InnoDB since we don't need to sync after each and every INSERT statement. Signed-off-by:
Dan McGee <dan@archlinux.org> Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 27 Feb, 2011 2 commits
-
-
Lukas Fleischer authored
The dummy data generation script used to create wrong package IDs for both "PackageVotes" and "PackageDepends" tables which led to errors when reloading the test data (constraints failed). This is fixed by no longer creating entries with zero ("0") package IDs. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
Lukas Fleischer authored
Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 01 Feb, 2011 2 commits
-
-
Lukas Fleischer authored
We don't even touch source tarballs anymore - except for extracting the PKGBUILD, so this is no longer needed. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
Dan McGee authored
We don't need this anymore since all packages managed here are well...managed here. Rip out all of the places we were using this field, many of which depended on the magic value '2' anyway. On the display side of things, we had a column that was always showing 'unsupported' that is now gone, and you can no longer sort by this column. Signed-off-by:
Dan McGee <dan@archlinux.org> Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 24 Jan, 2011 2 commits
-
-
Lukas Fleischer authored
Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
Lukas Fleischer authored
Drop the "URLPath" field from the "Packages" table, build URLs from package names instead. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 27 Mar, 2008 1 commit
-
-
Callan Barrett authored
This (should) get rid of anything to do with the unused column AURMaintainerUID in the scripts and schema files Signed-off-by:
Callan Barrett <wizzomafizzo@gmail.com> Signed-off-by:
Simo Leone <simo@archlinux.org>
-
- 23 Mar, 2008 1 commit
-
-
Loui Chang authored
Signed-off-by:
Loui Chang <louipc.ist@gmail.com> Signed-off-by:
Simo Leone <simo@archlinux.org>
-
- 06 Mar, 2005 1 commit
-
-
eric authored
-
- 05 Mar, 2005 1 commit
-
-
eric authored
-
- 24 Jan, 2005 1 commit
-
-
eric authored
-
- 12 Jul, 2004 1 commit
-
-
eric authored
-
- 01 Jul, 2004 1 commit
-
-
eric authored
-
- 29 Jun, 2004 1 commit
-
-
eric authored
-
- 28 Jun, 2004 2 commits