1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-16 11:50:10 +01:00
Commit Graph

4467 Commits

Author SHA1 Message Date
Daniel Martí
5822df9231 metadata: Simplify the writing of optional fields 2014-08-26 14:06:59 +02:00
Daniel Martí
cb63a5a62b Properly obey build --force. Fixes #29. 2014-08-26 13:49:42 +02:00
Daniel Martí
3d50ecf5fe Don't accept empty commits
With SCMs like git, "git checkout ''" doesn't actually fail, so one may
commit builds without noticing that they left the commit empty.
2014-08-26 13:40:18 +02:00
Daniel Martí
298934afa5 lint: warn about redundant links too 2014-08-26 13:33:17 +02:00
Daniel Martí
0da8c2c365 lint: fix duplicate usage of appid 2014-08-26 13:33:17 +02:00
Ciaran Gultnieks
102cbd20b3 Don't print tracebacks for option errors 2014-08-25 16:48:31 +01:00
Daniel Martí
5e988eb84d common: discard wrapping quotes in strings
Fixes auto names that shouldn't have wrapping quotes like '"PassDroid"'
instead of just 'PassDroid'.
2014-08-25 08:45:46 +02:00
Daniel Martí
96f49f2a9e lint: Also warn about descriptions that are just the summary 2014-08-25 00:41:25 +02:00
Daniel Martí
3d1213b602 lint: remove pedantic warnings that are often wrong 2014-08-25 00:41:01 +02:00
Daniel Martí
858c1eabc1 Add lint warning for empty summaries 2014-08-25 00:28:40 +02:00
Daniel Martí
f7f8c80018 Fix "no such package" search logic 2014-08-25 00:28:18 +02:00
Ciaran Gultnieks
b43f7bea1a Add ability to filter asshattery from stats 2014-08-22 21:18:55 +01:00
Daniel Martí
58a88acd92 Make the scanner log scanignore as well 2014-08-21 20:02:52 +02:00
Daniel Martí
c5cab888e4 Revert some stuff from 94c29f9c37 that shouldn't have been commited 2014-08-18 11:25:39 +02:00
Daniel Martí
97d1724ca0 fd-commit: don't break when non-metadata files show up in git status 2014-08-16 17:51:32 +02:00
Daniel Martí
18ac3044c7 Fix return in parse_metadata(None) 2014-08-16 16:01:00 +02:00
Daniel Martí
94c29f9c37 Map apps in memory from appid to appinfo
Instead of storing them in a list and doing linear searches by appinfo['id']
2014-08-16 12:46:02 +02:00
Daniel Martí
880f75110e Add setup.py to pep8+pyflakes hook, fix it 2014-08-16 11:51:23 +02:00
Daniel Martí
eb81375630 stats: simpler repo type logic 2014-08-16 11:42:51 +02:00
Daniel Martí
51c93c9576 Be more specific about when git svn is used 2014-08-16 10:55:21 +02:00
Daniel Martí
80a4edc748 Add Update Check Name to docs 2014-08-15 14:03:33 +02:00
Daniel Martí
2845cb56cc Also warn about HEAD, ignore disabled builds 2014-08-15 12:29:03 +02:00
Daniel Martí
1af98e9f09 Try to fix apk path matching with newer maven plugin versions 2014-08-12 12:56:59 +02:00
Ciaran Gultnieks
4c7c410d6e Remove gpg sig when removing disabled builds 2014-08-11 12:48:41 +01:00
Daniel Martí
7c0185fab5 Don't assume that Result: will be in the first line
Fixes nasty bugs with _JAVA_OPTIONS
2014-08-10 19:56:45 +02:00
Daniel Martí
bf227948a9 Make use of Popen.wait() return value 2014-08-10 12:28:19 +02:00
Daniel Martí
2116dee6d2 install: don't error if there are bin apks in repo/ 2014-08-10 01:09:44 +02:00
Ciaran Gultnieks
b2f1cedb40 Fix update, broken in 7ac0c5abb2 2014-08-08 12:34:37 +01:00
Ciaran Gultnieks
1c5d5c0bce Improve 'no sdk version found' output 2014-08-08 12:34:16 +01:00
Daniel Martí
6767c3f987 Revert "Add android-L target to the buildserver"
This reverts commit 7809ef419f.

android-L is a preview, we want to add android-20 when it comes out.
2014-08-07 10:29:44 +02:00
Ciaran Gultnieks
27cd65fde5 Merge branch 'master' into 'master'
Manual - fix name and location of sample files

It seems name and location of the sample files were changed. The documentation tells about "config.sample.py" and "makebs.config.sample.py". I did not find these while setting up the environment today.

The files are now located inside the "exmaples" directory and named as the real files.

See merge request !21
2014-08-05 21:51:52 +00:00
Daniel Martí
7ac0c5abb2 update: use sets for permissions and features to avoid duplicates 2014-08-05 23:04:21 +02:00
Daniel Martí
7809ef419f Add android-L target to the buildserver 2014-08-03 09:51:19 +02:00
Daniel Martí
b66ff53976 Bump version to 0.2.1 2014-08-02 13:44:48 +02:00
Ciaran Gultnieks
87b04c6921 Add python-gnupg to buildserver 2014-07-31 18:49:34 +01:00
Tilman Beitter
9307f87627 fixed name and location of config.py sample file 2014-07-25 14:20:56 +02:00
Daniel Martí
94e2b120e4 Remove extra argument in magic warning call 2014-07-24 08:55:54 +02:00
Daniel Martí
52a0773d71 stats: don't include disabled apps 2014-07-23 19:55:45 +02:00
Daniel Martí
a5f0f439c5 Use --before when using find-rev in git-svn 2014-07-23 17:26:33 +02:00
Daniel Martí
5167e3d771 Don't crash if a magic number can't be used
This should fix the anki build crashing.
2014-07-22 10:06:51 +02:00
Daniel Martí
0283fa0aa6 Merge branch 'master' of https://gitlab.com/eighthave/fdroidserver 2014-07-18 13:21:40 +02:00
Daniel Martí
78ff22d952 Drop svn support in favour of git-svn
Reasons:

* Cloning a svn repo via svn doesn't fetch the entire history
* Svn checkout is incredibly slow
* Svn doesn't have important features such as a 'clean' command

The only reason why we kept svn was for anonymous logins to repositories. This
is no longer a reason since git-svn also supports them.
2014-07-18 12:39:24 +02:00
Daniel Martí
13987b5c77 Use os.path.join instead of adding strings more often 2014-07-18 12:21:52 +02:00
Daniel Martí
d3ae163152 Fix Tags UCM on newer git-svn versions 2014-07-18 12:12:16 +02:00
Hans-Christoph Steiner
1bde10a642 default to Pillow for Python Imaging, that's what most people use now
PIL is the old standard Python Imaging.  Pillow is a fork where development
is actually continuing.  It seems that all the distros are also switching
from PIL to Pillow, including Debian, Ubuntu, Fedora, brew, MacPorts, etc.
2014-07-17 12:32:35 -04:00
Ciaran Gultnieks
f5890646e6 Put lastbuild log on wiki by vercode (with redirect) 2014-07-17 14:05:16 +01:00
Ciaran Gultnieks
40945aded7 Merge branch 'support-multiple-serverwebroots-and-fixes' into 'master'
Support multiple serverwebroots and fixes

This adds support for lists of serverwebroots in config.py, and cleans newlines and spaces in the repo_description and archive_description.
2014-07-16 21:07:10 +00:00
Daniel Martí
18b105ac70 Make FlattrID a hexadecimal value
This adds support for flattr "things" that are not direct flattr numeric ids,
but hexadecimal hashes representing web pages outside of flattr.
2014-07-16 00:02:01 +02:00
Hans-Christoph Steiner
8c8fb8b156 support lists/tuples in 'serverwebroot' config item
This allows the user to specify multiple servers to put the repo to, and
`fdroid server update` will automatically push to them all.

fixes #22 https://gitlab.com/fdroid/fdroidserver/issues/22
2014-07-14 15:04:30 -04:00
Hans-Christoph Steiner
35ee4b1bc5 update local_copy_dir rsync to handle FAT and filesystems with perms
With FAT filesystems, the user, group, and permissions will not be at all
preserved.  With file systems like ext4 that have perms, the umask might
not be set to something that makes sense for the public repo files, which
are meant to be published and therefore readible by all.

If need be, it would be easy enough to add a config option for rsync's
chmod string, to address setups that have specific permissions needs.

fixes #23 https://gitlab.com/fdroid/fdroidserver/issues/23
2014-07-14 15:02:20 -04:00