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
Hans-Christoph Steiner
f34c842f55
auto-clean newlines and spaces in repo/archive descriptions
...
This gives us flexibility in how the blocks of text can be formatted in
config.py, but also provides a more useful format for displaying since the
client can decide where to wrap the text.
2014-07-14 15:01:57 -04:00
Hans-Christoph Steiner
c7962e7c6d
server init: replace ssh subprocess with paramiko
...
It is easier to handle programming with python rather than subprocess calls
so I replaced the subprocess call to 'ssh' with paramiko. This also makes
fdroid more portable since it no longer relies on the local system having
ssh installed.
2014-07-14 15:01:57 -04:00
Daniel Martí
d69f93e5b2
Don't use the error-prone -x method to avoid lint usage
2014-07-10 12:07:10 +02:00
Daniel Martí
3d923a6718
Use p.wait() instead of p.communicate()
...
The latter calls the former anyway, and we don't need to fetch the output nor
send any stdin.
2014-07-09 19:22:39 +02:00
Daniel Martí
a834ff4ab2
Make a few Popens silent
2014-07-09 19:15:39 +02:00
Daniel Martí
69725c3f4c
Much cleaner and nicer way to ignore vcs dot dirs
...
We now discard their entire subtree directly
2014-07-09 19:11:13 +02:00
Daniel Martí
f3dd6d9510
More generic usual suspects regex
2014-07-09 18:17:28 +02:00
Daniel Martí
4ffa13167e
Only catch metadata exceptions from description_html
2014-07-09 16:48:28 +02:00
Daniel Martí
d5b06ec008
Revert "If given --verbose, don't print the whole error log again"
...
This reverts commit 29ab3cf64d
.
2014-07-09 11:14:01 +02:00
Daniel Martí
acbbc6a973
Revert "Always print command output when --verbose"
...
This reverts commit a4cdd92448
.
2014-07-09 11:11:41 +02:00
Daniel Martí
fad659921f
Remove some gradle @dir leftovers
2014-07-09 11:11:13 +02:00
Daniel Martí
7b8948f932
Simplify the finding of gradle output apks
2014-07-09 11:08:11 +02:00
Daniel Martí
b404e1b69c
Support git-svn refs in the form of rN
2014-07-09 10:41:35 +02:00
Daniel Martí
2c55fb499c
Do write .fdroidvcs if the clone succeeded
...
If the clone succeeded but the checkout failed, it didn't. Now it does, by
keeping the exception and raising it a bit later.
2014-07-09 10:30:28 +02:00
Daniel Martí
f857169317
Support origin/ checkouts with tags as well in gitsvn
2014-07-08 12:04:24 +02:00
Daniel Martí
a4cdd92448
Always print command output when --verbose
2014-07-08 11:16:03 +02:00
Daniel Martí
ff06694adc
Don't use generic Exception raises
...
That hides bugs, since all exceptions (including bugs that cause raises that
weren't our doing) fall under the "Exception" except
2014-07-07 15:41:50 +02:00
Daniel Martí
b56360512c
Fix silly var name typo
2014-07-06 23:28:25 +02:00
Daniel Martí
8f08487839
Stop at the summary when parsing a file for the app name
2014-07-06 11:38:32 +02:00
Daniel Martí
69bb03cd71
Use 'case' instead of if/elif in the line matching logic
2014-07-06 11:37:52 +02:00
Daniel Martí
1bcf7c7ce1
Revert "Rewrite fd-commit in POSIX Shell"
...
This reverts commit 62ba9dc07e
.
2014-07-06 11:29:31 +02:00
Daniel Martí
353e8dda00
More log level fixes
2014-07-05 15:29:12 +02:00
Daniel Martí
d8cd9a3163
Move more logging.info stuff to debug
2014-07-05 15:25:39 +02:00
Daniel Martí
4814238baf
Use logging with proper format when warning about improper verbose/quiet usage
2014-07-05 14:17:02 +02:00
Daniel Martí
5bf5ba04a6
Using $(levelname) in --quiet makes no sense
2014-07-05 14:15:31 +02:00
Daniel Martí
17dc21b69b
All logging goes to stderr, FDroidPopen should too
2014-07-05 14:10:26 +02:00
Daniel Martí
9d96ad3478
Don't directly print FDroidPopen output unless verbose
2014-07-05 14:07:53 +02:00
Daniel Martí
8249324a7b
Use counters in lint
2014-07-05 14:04:51 +02:00