Daniel Martí
7e529c495e
lint: don't be pedantic about downloading code
...
We don't really control this if run via a script, which happens more often.
2015-06-05 16:59:01 +02:00
Daniel Martí
c70e03f67c
lint: don't assume trailing slashes in urls are redundant
2015-06-05 16:56:51 +02:00
Daniel Martí
4a4c05e21a
Merge branch 'graphviz' into 'master'
...
Add graphviz to buildserver
Add graphviz to buildserver. Like inkscape and imagemagick it is used to "build" images from "source code".
See merge request !53
2015-06-05 14:52:35 +00:00
Boris Kraut
d9bbb507d1
Add graphviz to buildserver
2015-06-05 15:41:21 +02:00
Ciaran Gultnieks
368a6ae514
Stop fdroid update saying it requires signing keys when it doesn't
...
Again!
2015-06-04 15:00:31 +01:00
Daniel Martí
d0b5e60369
Properly support escaped strings
...
See:
https://developer.android.com/guide/topics/resources/string-resource.html
2015-06-04 15:56:20 +02:00
Daniel Martí
2231e72812
Remove now unnecessary regex_pedantic
2015-06-04 15:49:00 +02:00
Daniel Martí
56c855c6b1
lint: enforce https on gitlab too
2015-06-04 15:47:25 +02:00
Daniel Martí
46adf486c9
lint: Remove duplicate code.google.com TODO
2015-06-04 15:46:54 +02:00
Daniel Martí
ce5922d0a1
lint: move punctuation warnings out of pedantic
2015-06-04 15:45:33 +02:00
Daniel Martí
184ae8e2f6
"Changelog:" will be empty often, so only put it if present
2015-06-04 01:01:52 +02:00
Daniel Martí
7018e32b2c
Move github .git lint warning to http_warnings
2015-06-03 22:51:05 +02:00
Daniel Martí
9061f71dc4
Re-add https enforcings to Repo:
2015-06-03 22:17:57 +02:00
Daniel Martí
128b19e010
Enforce https uniformly in all http links
2015-06-03 21:00:15 +02:00
Daniel Martí
756f4a2363
Simplify lint http warnings
2015-06-03 20:55:08 +02:00
Daniel Martí
5cab5956e3
Don't accept non-integer vercodes
2015-06-03 19:40:43 +02:00
Daniel Martí
cd93d23062
Work around encoding issues when using xml files
...
The xml package returns "unicode" objects instead of strings in utf-8.
2015-06-03 18:42:24 +02:00
Daniel Martí
dd37061b41
Don't crash if an <application> has no android:label
2015-06-03 18:30:31 +02:00
Daniel Martí
1b2354858b
Fix PEP8 E225
2015-06-03 18:05:17 +02:00
Daniel Martí
beb17ad84a
Don't use the commits feed as a changelog link in import
...
If it's often not a replacement for a proper changelog, do not advise its
usage.
2015-06-03 15:52:46 +02:00
Daniel Martí
4b59f913f1
Merge branch 'changelog' of https://gitlab.com/krt/fdroidserver
2015-06-03 15:52:01 +02:00
Daniel Martí
9be9b7e919
No need to walk the entire src/main subtree in gradle apps
2015-06-03 15:43:55 +02:00
Daniel Martí
50a3564989
Also use proper xml parsing when retrieving string resources - #58
2015-06-03 15:42:45 +02:00
Daniel Martí
7ab4712892
Also use xml parsing to obtain version from AM.xml - #58
2015-06-03 15:23:18 +02:00
Daniel Martí
7c2bd34c49
Use proper AndroidManifest.xml parsing for labels - #58
2015-06-03 14:35:50 +02:00
Daniel Martí
87d409a55c
Revert back to always updating Auto Name
2015-06-03 14:35:31 +02:00
Daniel Martí
439cabb7f3
Remove "Srclibs:" from srclib metadata files
...
They are handled per build, this feature is of little help and practically
unused in master.
2015-06-03 13:52:47 +02:00
Ciaran Gultnieks
7a3baa01ed
Allow gpg home directory to be overridden
2015-06-02 09:17:08 +01:00
Daniel Martí
3b78147b2c
Merge branch 'pandoc' into 'master'
...
Add pandoc to buildserver
Closes #64 .
See merge request !52
2015-05-26 13:35:13 +00:00
Boris Kraut
b853609ee1
Add pandoc to buildserver
2015-05-23 17:48:05 +02:00
Daniel Martí
7b0e8bd01d
lint: be more strict about redundant summaries
2015-05-22 09:33:15 +02:00
Daniel Martí
550d907b8c
fix E713 test for membership should be 'not in'
2015-05-22 09:29:51 +02:00
Ciaran Gultnieks
6196e8acc1
Formatting fix for f345b24
2015-05-15 21:55:20 +01:00
Ciaran Gultnieks
4178b34351
Fix 'fdroid update' regression
...
This is from MR !48 . It refuses to update because there is no 'keypass'
or 'keystorepass' in the config. These shouldn't be in the config of any
properly set up existing repo in the first place. They certainly aren't
in any of mine (as a result of which, it refused to work on any of
them!)
2015-05-15 21:38:12 +01:00
Daniel Martí
f345b24816
lint: warn about extra empty lines
2015-05-15 17:09:21 +02:00
Daniel Martí
7c0228d89c
Warn about empty categs
2015-05-15 17:09:21 +02:00
Daniel Martí
ac004264f0
Make comma-separated list parsing code common
2015-05-15 17:09:21 +02:00
Ciaran Gultnieks
76332e7c0e
Merge branch 'support-all-signing-key-types' into 'master'
...
support all APK signing key types: DSA, EC, RSA
The lovely python getsig replacement was only looking for .RSA files, but the signing key is defined as: "A signature block file with a .DSA, .RSA, or .EC extension"
https://docs.oracle.com/javase/7/docs/technotes/tools/windows/jarsigner.html
For more info:
https://f-droid.org/forums/topic/binary-repo-whatsapp-error
See merge request !51
2015-05-14 16:12:04 +00:00
Ciaran Gultnieks
82ab109066
Merge branch 'debug-builds' into 'master'
...
support plain paths as a serverwebroot
For use cases where there is a web server running on the same machine where the `fdroid update` is being run, allow plain paths in the serverwebroot list. This is useful for debug repos from build servers, like:
https://dev.guardianproject.info/fdroid
This also includes small change in the `fdroid server update` delete behavior: it delays the delete phase until after the new APKs are uploaded. This is keep things working for a long as possible while the repo is being updated.
See merge request !49
2015-05-14 16:11:32 +00:00
Ciaran Gultnieks
afa7254a83
Merge branch 'master' into 'master'
...
make it really easy to upgrade unsigned repos to signed
As a key step to removing support for unsigned repos from fdroidclient (https://gitlab.com/fdroid/fdroidclient/issues/12 ), this merge request makes `fdroid update` require a signing key. If there is no keystore, it'll prompt the user to create one using `fdroid update --create-key`.
This closes #13
See merge request !48
2015-05-14 16:09:40 +00:00
Hans-Christoph Steiner
fd0e2ab97e
support all APK signing key types: DSA, EC, RSA
...
"A signature block file with a .DSA, .RSA, or .EC extension"
https://docs.oracle.com/javase/7/docs/technotes/tools/windows/jarsigner.html
2015-05-14 12:04:46 -04:00
Daniel Martí
255afa3894
ACCESS_SUPERUSER is now deprecated
2015-05-14 12:31:10 +02:00
Daniel Martí
dd70c9441c
Detect most bad URLs
...
Also [appid] links that should really be [[appid]]
2015-05-13 13:06:10 +02:00
Daniel Martí
bd3303c43d
Merge branch 'vars' into 'master'
...
Update documentation to cover COMMIT, VERSION and VERCODE vars
See merge request !50
2015-05-10 13:42:07 +00:00
Boris Kraut
f3339daeee
Update documentation to cover COMMIT, VERSION and VERCODE vars
2015-05-10 15:29:41 +02:00
Daniel Martí
e916e5df4e
Add COMMIT, VERSION and VERCODE recipe vars. Fixes #69
2015-05-10 13:55:16 +02:00
Hans-Christoph Steiner
cc0908bdbb
common.write_to_config(): if key doesn't exist in config.py, append it
...
This lets `fdroid update --create-key` add key/value pairs to config.py
2015-05-08 16:13:15 -04:00
Hans-Christoph Steiner
ff48c6b7f9
tests: no need to dump the index.xml to the build log
...
This should make the build log a lot shorter.
2015-05-08 16:13:15 -04:00
Hans-Christoph Steiner
de1c80f9b4
fdroid update --create-key
to create a keystore/key
...
This provides the final option in this series, allowing the user to just
add --create-key to `fdroid update, and thereby upgrade an unsigned repo to
a proper signed repo. It also might be useful
closes #13 https://gitlab.com/fdroid/fdroidserver/issues/13
2015-05-08 16:13:15 -04:00
Hans-Christoph Steiner
276123856c
move keystore gen logic to common function
...
This moves the method for generating a new keystore for the repo signing
key to a common function so that it can be used in more subcommands beyond
`fdroid init`. The immediate idea is to make `fdroid update --create-key`
upgrade unsigned repos to signed ones so we can make fdroidclient only use
signed repos.
2015-05-08 16:13:15 -04:00