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í
f44a1c89f1
config: bump default build_tools after update in BS
2015-08-20 09:48:12 -07: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
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í
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í
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
Ciaran Gultnieks
47032cb4e9
Fix multiple errors in get_mime_type
...
Closes #111
2015-08-13 19:16:28 +02:00
Lode Hoste
c813a3cdbb
fix gradle adaptation for custom buildToolsVersion configurations
2015-08-08 21:29:48 +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
Hans-Christoph Steiner
a020625462
support egg-link format when installed from git repo
...
If you run `python setup.py install` from the git repo, then it will be
installed using the .egg-link format, which just points to the git repo.
`fdroid init` needs to handle that when looking for example files to copy.
2015-08-01 00:38:41 +02:00
Hans-Christoph Steiner
f38619ef5f
chmod keystore after checking whether it was created
...
On OSX, when Java is not installed, it'll fail to create the keystore, but
then give an error from chmod failing. This changes things so that the
missing Java is reported instead.
2015-08-01 00:38:41 +02:00
Hans-Christoph Steiner
1c1f481fcc
support installing as a Python .egg
...
For platforms where easy_install is a good option, like OSX, support
the Python .egg library format.
2015-08-01 00:38:41 +02:00
Hans-Christoph Steiner
752b258ba7
get MIME types without strictly requiring python-magic
...
There are two forms of python-magic, one included in libmagic that is
default on Debian, and another Python wrapper for libmagic that is
called 'python-magic' on pypi. Those both rely on the compiled binary
library libmagic. For platforms without good package management, fallback
to using the built-in 'mimetypes' library if 'magic' is not available.
This supports OSX, Windows, and BSD.
2015-08-01 00:38:41 +02:00
Hans-Christoph Steiner
85febd40d1
use common.regsub_file() instead of Popen(sed)
...
Python libraries work better in Python than running external commands, and
it also makes the code much more portable. For example, the GNU and BSD
sed commands have different, and sometimes conflicting, flags.
This also reworks the regexp patterns to be more tightly focused, and not
change the same variable name in comments or elsewhere.
2015-08-01 00:38:41 +02:00
Daniel Martí
fd6e323ba9
lint: exit with an error code if any errors are found
2015-07-30 12:46:42 -07:00
Daniel Martí
bc5d5cbd83
Also use OptionParser in readmeta to add -h/--help
2015-07-30 11:35:25 -07:00
Daniel Martí
b4d768b225
Merge branch 'some-compatibility-fixes' of https://gitlab.com/eighthave/fdroidserver
2015-07-27 10:41:23 -07:00
Daniel Martí
343c7de29f
Merge branch 'no-refresh' of https://gitlab.com/aelmahmoudy/fdroidserver
2015-07-24 18:11:15 -07:00
Daniel Martí
db7eda3b47
Be more specific about empty build flags
2015-07-24 18:08:48 -07:00
Hans-Christoph Steiner
f625005ec3
remove dependency on wget for 'build' and 'verify'
...
To make the core tools portable to platforms like Mac OS X and Windows,
remove the dependency on wget and instead use Python Requests, which
probably has better performance anyway.
2015-07-24 11:53:14 -07:00
Hans-Christoph Steiner
cef7553873
update: warn if APK has a date that is newer than the system clock
...
If the date in an APK is in the future, that could cause confusion. If the
system clock is wrong, then the APK will also have a date in the future.
This is most likely on offline signing machines, since they do not have a
time source to sync to.
2015-07-23 10:39:30 -07:00
Hans-Christoph Steiner
bd3ae88608
extend text char limits to match other app stores
...
We should be compatible with other apps stores unless there is a specific
reason not to be.
* Google Play, Amazon, and iTunes all have 4000 char descriptions
For the summary, we can just bump it up to the same as what Play has
* Google Play allows an 80 char "Short Description"
https://support.google.com/googleplay/android-developer/answer/113469?hl=en
* Amazon allows a 1200 char "Short Description"
https://developer.amazon.com/public/support/submitting-your-app/tech-docs/submitting-your-app#Add Metadata and Image Assets
2015-07-23 10:39:30 -07:00
أحمد المحمودي (Ahmed El-Mahmoudy)
44335b64be
Add an option to disable repository refresh
...
This is useful for testing builds with no internet connection, and the
repositories were already fetched previously
2015-07-14 17:43:07 +02:00
Daniel Martí
09a0aa2eb9
Also find usual suspects in gradle files
2015-07-05 14:26:41 -07:00
Ciaran Gultnieks
0bd5be2ea3
Fix update fail when icons are missing
...
Introduced yesterday, I believe.
2015-06-29 11:17:59 +02:00
Daniel Martí
b848b99bab
Always clean and reset all submodules
2015-06-28 19:37:28 -07:00
Daniel Martí
3492ec6eff
Hotfix: Client 0.92 breaks if web/source/tracker are missing
...
Revert this commit after a few stable releases
2015-06-28 11:45:06 -07:00
Daniel Martí
af692dd3bd
Stable clients understand UpstreamNonFree now
2015-06-26 18:00:34 +02:00
Daniel Martí
7b2f7077bc
Hotfix for 7b68b90569 - don't cal .split() on None
2015-06-26 17:58:57 +02:00
Daniel Martí
7b68b90569
update: never include empty elements in the index
2015-06-26 17:41:19 +02:00
Daniel Martí
5aa9e2289d
Improve xml string extracting support
...
* Shield ourselves from newlines that would break metadata files
* Properly use string resources for version names
2015-06-18 17:54:56 +02:00
Daniel Martí
52c2ca1fe7
Replace NDK r10d with r10e
2015-06-18 17:05:48 +02:00
Daniel Martí
e608975f78
Bump build-tools to 22.0.1
2015-06-18 16:56:56 +02:00