Daniel Martí
1d5280d528
Fix pyflakes errors in readmeta
2014-05-27 15:56:57 +02:00
Daniel Martí
ecb2a2a969
Make readmeta use srclibs and check for config.py too
2014-05-27 15:17:37 +02:00
Daniel Martí
9301c50e3b
More strict string search regex
2014-05-27 10:10:15 +02:00
Daniel Martí
5bbbda71a3
Also use srclibs in checkupdates
...
Needed when Repo Type is srclib
2014-05-27 09:53:58 +02:00
Daniel Martí
a129ef5f9f
Warn about summaries that are not capitalized
2014-05-26 08:09:22 +02:00
Daniel Martí
93a56e4f51
Fall back to launchable-activity label if application has none
...
This fixes apps like MiniZip not having a name
2014-05-23 09:47:11 +02:00
Ciaran Gultnieks
3a73654d49
Centralise management of srclib metadata
2014-05-20 22:44:47 +01:00
Ciaran Gultnieks
e29da6b023
Restore friendly error messages
...
Use --verbose if you really want a full traceback with your 'you made a
typo in an package ID' messages.
It would be better to do this based on exception types (i.e. our own
exceptions - MetadataException, BuildException, VCSException) would not
print a traceback, but unexpected exceptions would. But the types are
not available at the 'fdroid' level currently.
2014-05-20 22:14:19 +01:00
Ciaran Gultnieks
6391f204e1
Lose the other unused read_metadata parameter
2014-05-20 21:07:54 +01:00
Ciaran Gultnieks
720ec22e9a
Remove mysterious keyword arguments
2014-05-20 17:55:48 +01:00
Ciaran Gultnieks
277d95f57d
Fix several read_metadata-related issues
...
Various calls with the wrong parameters, and also an unused parameter on
the function itself.
2014-05-20 17:48:45 +01:00
Daniel Martí
a36865e9b1
lint: warn about empty descriptions
...
If some app has the default description because it's not going to be published
or will never have a working build, the whole app should be disabled.
2014-05-16 13:04:31 +02:00
Ciaran Gultnieks
d104f2e1fb
Support https://code.google.com in fdroid import
2014-05-15 10:26:35 +01:00
Ciaran Gultnieks
0113f85448
Add ability to ignore updates based on version name matching
2014-05-13 20:04:22 +01:00
Ciaran Gultnieks
751daf0cda
Fix too long lines in publish
2014-05-12 23:01:53 +01:00
Ciaran Gultnieks
b18d1b422e
Remove excess usage description from gpgsign
2014-05-12 23:00:20 +01:00
Ciaran Gultnieks
d69b7ce338
Remove unused imports
2014-05-12 22:58:54 +01:00
Ciaran Gultnieks
f8cc84282e
Correct logging output for gpgsign when already signed
2014-05-12 22:57:23 +01:00
Ciaran Gultnieks
ffdebd9516
Add 'fdroid gpgsign' command
...
Creates detached gpg signatures for any apks that don't have them
yet. Relevant configuration fields need to be set first.
2014-05-12 21:57:09 +01:00
Ciaran Gultnieks
cf1201833b
Add proprietary samsung jar to usual suspects
2014-05-11 22:14:32 +01:00
Daniel Martí
17a4f5c00f
A few more PEP8 fixes
2014-05-07 16:17:46 +02:00
Hans-Christoph Steiner
37d6d87ff7
fix PEP8 "E226 missing whitespace around arithmetic operator"
2014-05-06 14:36:33 -04:00
Hans-Christoph Steiner
0e00b36db5
fix PEP8 E124/E125/126/127/128 indentation issues
...
* E124 closing bracket does not match visual indentation
* E125 continuation line does not distinguish itself from next logical line
* E126 continuation line over-indented for hanging indent
* E127 continuation line over-indented for visual indent
* E128 continuation line under-indented for visual indent
2014-05-06 14:36:33 -04:00
Hans-Christoph Steiner
6abb390547
fix PEP8 "E261 at least two spaces before inline comment"
2014-05-06 11:45:04 -04:00
Hans-Christoph Steiner
aa5f317c26
fix PEP8 "W391 blank line at end of file"
2014-05-06 11:45:03 -04:00
Hans-Christoph Steiner
16dc3b27d6
fix PEP8 "E303 too many blank lines (2)"
2014-05-06 11:45:03 -04:00
Hans-Christoph Steiner
69989d4758
fix PEP8 "E302 expected 1 blank lines, found 0"
2014-05-06 11:45:03 -04:00
Hans-Christoph Steiner
3f4f7a544b
fix PEP8 "E302 expected 2 blank lines, found 1"
2014-05-06 11:45:03 -04:00
Hans-Christoph Steiner
2f2618e06c
fix PEP8 "E401 multiple imports on one line"
2014-05-06 11:45:03 -04:00
Hans-Christoph Steiner
fcca0ddb1f
fix PEP8 "E712 comparison to True should be 'if cond is True:' or 'if cond:'"
2014-05-06 11:45:03 -04:00
Hans-Christoph Steiner
d8bae963a9
fix PEP8 "E703 statement ends with a semicolon"
2014-05-06 11:45:03 -04:00
Hans-Christoph Steiner
7e17fafc14
fix PEP8 "E225 missing whitespace around operator"
2014-05-06 11:45:03 -04:00
Hans-Christoph Steiner
c54cabe741
fix PEP8 "E228 missing whitespace around modulo operator"
2014-05-06 11:45:03 -04:00
Hans-Christoph Steiner
2d271806f1
fix PEP8 "E251 unexpected spaces around keyword / parameter equals"
2014-05-06 11:45:02 -04:00
Hans-Christoph Steiner
58a484e74e
fix PEP8 "W291 trailing whitespace"
2014-05-06 11:45:02 -04:00
Hans-Christoph Steiner
62204d1fe5
fix PEP8 "E202 whitespace before ']' or '}'"
2014-05-06 11:45:02 -04:00
Hans-Christoph Steiner
4af2e0004f
fix PEP8 "E201 whitespace after '(' or '[' or '{'"
2014-05-06 11:45:02 -04:00
Hans-Christoph Steiner
998011d535
fix PEP8 "E231 missing whitespace after ','"
2014-05-06 11:45:02 -04:00
Hans-Christoph Steiner
f1812d5935
fix PEP8 "E203 whitespace before ':' or ','"
2014-05-06 11:45:02 -04:00
Hans-Christoph Steiner
fccb990521
fix PEP8 "E711 comparison to None should be 'if cond is None:'"
2014-05-06 11:45:02 -04:00
Hans-Christoph Steiner
d564c37c35
fix "fdroidserver/build.py:41: redefinition of unused 'paramiko' from line 39"
...
pyflakes gave this error based on the `paramiko = None` statement. I used
a different way to test whether paramiko was successfully imported that is
directly based on the relevant Exceptions.
2014-05-06 11:45:02 -04:00
Daniel Martí
42bfe13be4
Also pre-compile list regex warnings
2014-05-06 16:08:53 +02:00
Daniel Martí
65205a6ec3
Warn about leading spaces in descriptions
2014-05-06 16:08:53 +02:00
Ciaran Gultnieks
225c644b3e
Remove the other explicit vagrant references
...
Aside from the VM setup (which is now self-contained) the build process
only cares that it's handed a clean VM that it can access via ssh, given
a host/port/user/pubkey combination. There's no dependency outside the
getvm/releasevm functions on what kind of vm it is, what user the build
runs as, etc.
2014-05-01 23:33:17 +01:00
Ciaran Gultnieks
ee157b7c83
Remove some explicit references to the vagrant user
2014-05-01 23:24:54 +01:00
Ciaran Gultnieks
6db75545ef
Separate the VM setup process from the build
2014-05-01 23:04:51 +01:00
Ciaran Gultnieks
d7cee19c02
Fix a few whitespace errors in build.py
2014-05-01 22:09:17 +01:00
Ciaran Gultnieks
2f6ce712f5
More PEP8 compliance (build.py, partial)
2014-04-30 23:23:57 +01:00
Ciaran Gultnieks
bd34fc2530
Remove the rest of the PEP8 errors from stats.py
2014-04-30 20:53:34 +01:00
Ciaran Gultnieks
5849b43e02
Remove strange semicolons
2014-04-30 11:46:28 +01:00