Daniel Martí
bad611ce5a
Properly default to NDK r10e
2015-08-05 10:33:42 -07:00
Daniel Martí
db7eda3b47
Be more specific about empty build flags
2015-07-24 18:08:48 -07: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í
4b59f913f1
Merge branch 'changelog' of https://gitlab.com/krt/fdroidserver
2015-06-03 15:52:01 +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í
ac004264f0
Make comma-separated list parsing code common
2015-05-15 17:09:21 +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
Boris Kraut
b1ec8cc47a
Add "Changelog:" metadata field.
2015-01-11 02:26:41 +01:00
Daniel Martí
526813eae6
Plaintext descriptions are no longer needed
2015-01-03 00:08:21 +01:00
Daniel Martí
f60f1bc59e
Add NDK r10d, this time alongside r9b
...
Specified per-build with ndk=<version> defaulting to the oldest, r9b.
2015-01-03 00:07:01 +01:00
Daniel Martí
14f654fabc
Apply some autopep8-python2 suggestions
2014-12-31 16:44:06 +01:00
Ciaran Gultnieks
872e57c8da
Set correct defaults for Binaries metadata field
2014-10-27 17:21:04 +00:00
Ciaran Gultnieks
8568805866
Support for publishing signed binaries from elsewhere
...
Done after verifying that they match ones built using a recipe.
Everything in the metadata should be the same as normal, with the
addition of the Binaries: directive to specify where (with pattern
substitution) to get the binaries from.
Publishing only takes place if there is a proper match. (Which seems
very unlikely to be the case unless the exact same toolchain is used, so
I would imagine that unless the person building and signing the incoming
binaries uses fdroidserver to build them, probably the exact same
buildserver id, they will not match. But at least we have the
functionality to support that.)
2014-10-24 21:04:15 +01:00
Daniel Martí
ce61186cd2
Fix issue where gradle=yes would be removed by rewritemeta
2014-09-15 17:03:45 +02:00
Daniel Martí
1757017b8a
More list comprehension fixes
2014-09-13 13:07:21 +02:00
Daniel Martí
34a3405208
Centralise handling of default gradle flavours
2014-09-13 13:04:24 +02:00
Daniel Martí
a195556378
Make gradle and antcommands (previously antcommand) proper lists
2014-09-13 13:01:08 +02:00
Daniel Martí
b5c363b6c8
Sort builds by vercode when reading them
...
Then, when written, the order will be enforced.
2014-08-31 00:21:29 +02:00
Daniel Martí
a1f51ebb4d
Fix typo in app link hrefs
2014-08-28 15:36:09 +02:00
Daniel Martí
5822df9231
metadata: Simplify the writing of optional fields
2014-08-26 14:06:59 +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í
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í
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
Daniel Martí
4ffa13167e
Only catch metadata exceptions from description_html
2014-07-09 16:48:28 +02:00
Daniel Martí
3dbf99a7f2
Use shorter and non-redundant 'or' clauses for 'if True else' assignments
2014-07-03 17:35:28 +02:00
Daniel Martí
eaf3216e40
Recognise changes in subdirs in Tags and RepoManifest
2014-07-03 17:25:31 +02:00
Daniel Martí
49208b257d
Always run read_srclibs as part of read_metadata
2014-06-30 14:39:52 +02:00
Daniel Martí
33ed7f077d
Simplify check_metadata
2014-06-26 12:39:42 +02:00
Daniel Martí
0f6cb94041
Fix bug in reading old recipes
2014-06-15 12:16:10 +02:00
Daniel Martí
67cbd1fba4
Fix the script defaults
2014-06-01 19:11:49 +02:00
Daniel Martí
9f1c075119
No need to check for non-default build items
2014-06-01 19:05:18 +02:00
Daniel Martí
67630b6c72
Store build comments by vercode, not version
...
vercodes are unique, versions aren't
2014-06-01 15:40:33 +02:00
Daniel Martí
a544907bef
Don't allow for duplicate build entries
2014-06-01 15:38:11 +02:00
Daniel Martí
3d72c30fe5
Use ordered dicts for defaults in apps and builds
2014-05-31 23:54:50 +02:00
Daniel Martí
b594558811
Re-order app_defaults to match the writing order
...
Also fix a couple of issues:
* Update Check Name was never written to disk
* Maintainer Notes had no default and was used differently
2014-05-30 19:51:10 +02:00
Daniel Martí
e93017569f
Simplify field/flag checking and bool flag usage
2014-05-30 18:52:30 +02:00
Daniel Martí
0f0ccdb1e1
Fix some more pep8 warnings
2014-05-28 09:33:14 +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
Ciaran Gultnieks
0113f85448
Add ability to ignore updates based on version name matching
2014-05-13 20:04:22 +01: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