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

3292 Commits

Author SHA1 Message Date
Hans-Christoph Steiner
3af38569a2 server: switch Amazon AWS S3 upload to streaming mode
This keeps memory usage low because it only has to read a chunk at a time
into memory while before it read the whole file into memory before
uploading it.

This also seems to handle setting the permissions ACL better.
2015-08-25 16:55:52 +02:00
Hans-Christoph Steiner
b5cbb4382f new config option: per-app repos to support nightly build repos
For devs that want to build and distribute nightly builds of their apps
using the fdroid tools.  The core idea here is to make the fdroidserver
tool suite the single set of tools for all types of builds and releases.
That will hopefully drive more free software developers to make f-droid.org
an core channel for official releases.
2015-08-25 16:55:52 +02:00
Hans-Christoph Steiner
e614863c69 scan_apks() sets cachechanged, so no tricks needed 2015-08-25 16:49:52 +02:00
Daniel Martí
e88816bbe3 lint: warn about /master/ usage 2015-08-24 16:34:39 -07:00
Daniel Martí
0fb7acdd1d checkupdates: be more verbose with tags 2015-08-24 16:24:05 -07:00
Daniel Martí
06c94b3a44 Add support for gradle properties via gradleprops 2015-08-24 15:54:05 -07:00
Daniel Martí
5a0129d835 Rename COPYING to LICENSE
See fdroid/fdroidclient#384
2015-08-24 10:54:20 -07:00
Daniel Martí
a8d2c0a8d2 Prepare for sdk level 23 2015-08-20 09:56:14 -07:00
Daniel Martí
f44a1c89f1 config: bump default build_tools after update in BS 2015-08-20 09:48:12 -07:00
Daniel Martí
bc70f78ef9 Remove default config settings from the BS 2015-08-20 09:48:12 -07:00
Daniel Martí
bca7986600 Merge branch 'two-fixes' into 'master'
Two fixes

I pulled two commits out of !57 since it would be good to have them included, and specifically the `buildToolsVersion` issue was just discussed.

The current state of the `buildToolsVersion` replacement is not good.  It will replace this:

```
buildToolsVersion '21.0.1'
```

with this:

```
buildToolsVersion = '21.0.1'
```

That is incorrect, since the first form is more like a function call than a variable assignment.  So most likely that is causing the `buildToolsVersion` to be unset.  The commit here includes a fix that works for both the rare, non-standard variable assignment way, i.e. `buildToolsVersion = '21.0.1'` as well as the standard way: `buildToolsVersion '21.0.1'`.  It also includes tests for both cases.

See merge request !65
2015-08-20 16:39:38 +00:00
Hans-Christoph Steiner
d53a5af715 build: improve regsub pattern for setting buildToolsVersion
This addresses the discussion in !64
https://gitlab.com/fdroid/fdroidserver/merge_requests/64

Sometimes, buildToolsVersion is a kind of gradle macro call, and other
times it is a variable assignment.  This regsub pattern now handles both of
those cases.
2015-08-19 17:55:17 +02:00
Hans-Christoph Steiner
6db6433e97 fix syntax error in manual generation and add ./gendocs.sh to the tests 2015-08-19 17:51:29 +02:00
Daniel Martí
46b1f09de3 Only do the magic import/except dance once
No need to do it for every file, once per app is enough
2015-08-18 23:46:35 -07:00
Daniel Martí
41fd1e86af lint: also do http warnings on descriptions 2015-08-18 18:14:48 -07:00
Daniel Martí
80371da133 lint: better type safety 2015-08-18 18:07:01 -07:00
Daniel Martí
d0559f864e Warn about url shorteners being used 2015-08-18 17:54:32 -07:00
Daniel Martí
b9397733c3 Warn about misplaced flattr donation links 2015-08-18 17:53:56 -07:00
Daniel Martí
57ba6f0307 import: remove support for gitorious
Same as google code.
2015-08-18 16:28:58 -07:00
Daniel Martí
e8a7a56d2e import: remove google code support
Google code is dead and going read-only. import is just a helper program, and
we don't want to help people add apps from google code anymore. Apps should
move to other hosting sites.
2015-08-18 16:26:27 -07:00
Daniel Martí
261ed09d7c lint: Update Check Name with unchanged app id 2015-08-18 14:01:14 -07:00
Daniel Martí
d59ecb3d18 Add gradle 2.6 to the buildserver 2015-08-18 13:40:21 -07:00
Daniel Martí
d2ccea8246 Update buildserver for android-23 2015-08-18 13:39:00 -07:00
Daniel Martí
c813ad0594 Fix type issue 2015-08-17 22:04:20 -07:00
Daniel Martí
ab6d6a3d0b Also enforce https on urls without path 2015-08-14 15:30:03 -07:00
Daniel Martí
4ef3875bf0 Specify that CVC 0 means infinity 2015-08-14 14:25:06 -07:00
Daniel Martí
712c3aaae9 lint: warn about CVCs that don't make sense 2015-08-14 14:16:43 -07:00
Daniel Martí
6cc91e2ded Line numbers start at 1, not 0 2015-08-14 10:30:27 -07:00
Daniel Martí
bb2598d358 Add "Update Check Name:Ignore" 2015-08-14 10:27:16 -07:00
Daniel Martí
e5bc581d0d lint: Fix unicode issues in list warnings 2015-08-13 22:37:42 -07:00
Daniel Martí
12fc0640df lint: don't warn multiple times about lists 2015-08-13 22:14:59 -07:00
Daniel Martí
fbff41234f lint: warn about incorrect lists 2015-08-13 22:13:58 -07:00
Daniel Martí
90a926dfb0 Fix test that broke with c813a3cdbb 2015-08-13 12:44:35 -07:00
Daniel Martí
3b43e27cb8 Add gradle 2.5, fixes #108 2015-08-13 11:28:01 -07:00
Daniel Martí
24f6cc604b Always end config list items with a comma 2015-08-13 11:02:09 -07:00
Ciaran Gultnieks
47032cb4e9 Fix multiple errors in get_mime_type
Closes #111
2015-08-13 19:16:28 +02:00
Daniel Martí
576135ff8f Merge branch 'fix-custom-buildToolsVersion' into 'master'
Fix gradle adaptation for custom buildToolsVersion configurations

I have ```build_tools = "22.0.1"``` configured in my config.py, however a recent fdroidserver update broke this. This PR fixes it for me.

See merge request !64
2015-08-09 01:40:20 +00:00
Lode Hoste
c813a3cdbb fix gradle adaptation for custom buildToolsVersion configurations 2015-08-08 21:29:48 +02:00
Hans-Christoph Steiner
c1598b04da Merge branch 'master' into 'master'
Add configuration for pypi

See: [http://peterdowns.com/posts/first-time-with-pypi.html](http://peterdowns.com/posts/first-time-with-pypi.html)

See merge request !63
2015-08-07 18:15:37 +00:00
Nico Alt
09d686ebe7 Add configuration for pypi 2015-08-07 11:41:38 +02:00
Daniel Martí
9fc583289e lint: complain about UCMs that haven't been used
Mainly for MRs from people who don't fill the automatic fields
2015-08-05 10:52:53 -07:00
Daniel Martí
bad611ce5a Properly default to NDK r10e 2015-08-05 10:33:42 -07:00
Daniel Martí
c8806a3235 Merge branch 'master' into 'master'
final 0.4.0 fixes

Because `setup.py` is broken because `MANIFEST.in` is still pointing to `README` and not `README.md`, the 0.4.0 tag needs to be deleted.  This merge requests fixes that and two other minor issues.  This has passed multiple runs of the test suite, both on my machine and the jenkins box.

See merge request !61
2015-08-05 16:38:27 +00:00
Hans-Christoph Steiner
70848301aa fix fdroid rewritemeta reference in manual 2015-08-05 14:05:17 +02:00
Hans-Christoph Steiner
1bb14d2f82 run-tests: fix quoting to prevent spurious execution of fdroid update 2015-08-05 13:36:21 +02:00
Hans-Christoph Steiner
6f1d1b81be rename README to README.md in MANIFEST.in
this stops `python setup.py` from failing...
2015-08-05 10:35:14 +02:00
Daniel Martí
59883851ae Bump to 0.4.0 2015-08-04 23:01:16 -07:00
Hans-Christoph Steiner
21b79cdea5 Merge branch 'master' into 'master'
Port README to markdown

Also add instructions for Arch-Linux.

You can take a look on it [here](https://gitlab.com/NicoAlt/fdroidserver/blob/master/README.md).

See merge request !60
2015-08-04 20:56:16 +00:00
Nico Alt
94881ba10d Correct filename in setup.py 2015-08-04 21:02:06 +02:00
Nico Alt
1560235424 Port README to markdown
Also add instructions for Arch-Linux.
2015-08-04 13:00:01 +02:00