Daniel Martí
6ea51abfaa
common: Compile more regexes only once
2015-10-25 19:10:49 +01:00
Daniel Martí
8812e9339d
Don't double check package name
2015-10-25 19:10:23 +01:00
Daniel Martí
1f42b83120
checkupdates: don't ignore root directory
2015-10-25 19:09:55 +01:00
Daniel Martí
d5ec039dec
checkupdates: Make RepoManifest change subdir too
2015-10-25 12:09:01 +01:00
Daniel Martí
af947809b5
checkupdates: let Tags detect subdir changes
...
Up until now, this was done only if no overall version could be found. But in
tags, we would get stuck with an old version from an old tag and not see
subdir changes in new tags.
2015-10-25 12:00:02 +01:00
Daniel Martí
fa55ec0e87
Be consistent about root_dir/build_dir naming
2015-10-25 11:41:46 +01:00
Daniel Martí
7e7d67f0d7
Fix a small indentation issue
2015-10-25 11:32:18 +01:00
Daniel Martí
7d96602df2
Fix gradle-2.8 checksum
...
I once again did the -all.zip hash, not the -bin.zip one.
2015-10-25 10:48:17 +01:00
Daniel Martí
db31eddd7e
lint: fix unlinkified links regex
...
It was incorrectly matching:
foo [http://bar
and not matching:
http://foo (start of line)
2015-10-25 00:07:33 +02:00
Daniel Martí
ab667992c7
update: fix for 0fa6aac288
...
For some reason, my up to date pyflakes didn't catch this.
2015-10-24 20:13:49 +02:00
Daniel Martí
2872027835
Also replace git@gitlab.com submodule urls
2015-10-24 19:42:40 +02:00
Daniel Martí
231339ba80
Add gradle 2.8
2015-10-24 19:05:21 +02:00
Daniel Martí
82624cd7ca
Bump sdk to 24.4.1
2015-10-24 19:02:39 +02:00
Daniel Martí
16ca7f3be3
tests: we now replace "buildToolsVersion var" too
...
See d706cfa7d8
2015-10-24 18:47:43 +02:00
Daniel Martí
78a661fc7d
Typo fix for 91daacb889
2015-10-24 18:37:57 +02:00
Daniel Martí
91daacb889
common: don't crash if an sdk binary is not found
2015-10-24 17:02:53 +02:00
Daniel Martí
0fa6aac288
Remove densities getter
2015-10-24 16:34:55 +02:00
Daniel Martí
a92f9a3a4c
scanner: allow sonatype groups/public repo
...
See http://central.sonatype.org/pages/ossrh-guide.html
2015-10-22 12:23:57 +02:00
Daniel Martí
6dcee2924a
scanner: escape urls
2015-10-22 12:23:52 +02:00
Daniel Martí
d706cfa7d8
Fix build-tools patching when it uses variables
...
Like:
buildToolsVersion FOO_VERSION
2015-10-14 19:34:30 +02:00
Daniel Martí
c877d4524a
tests: Comment values are lists, not strings
...
Since there can be multiple lines.
2015-10-08 16:39:47 +02:00
Ciaran Gultnieks
e3ee7ba329
Fix shasum for gradle 2.7 (see a229afe1
)
2015-10-08 14:16:35 +01:00
Daniel Martí
5d180b8858
tests: adapt to new comments dict
2015-10-08 13:20:48 +02:00
Daniel Martí
00bd75aa8c
tests: close files
2015-10-08 13:20:35 +02:00
Daniel Martí
f7e9022217
scanner: ignore gradle comment lines
...
Useful to detect:
maven {
// foo
url "http://foo.bar "
}
2015-10-08 12:16:45 +02:00
Daniel Martí
75b1c029ac
Remove unwanted files in a more consistent way
2015-10-08 12:10:55 +02:00
Daniel Martí
21117b77d2
scanner: error on unknown maven repos
...
This finds maven repos of the format:
maven {
url 'http://foo.bar '
}
And checks if the repository is one that we allow. As usual, scanignore can be
used, or the list modified, if there are exceptions or more repositories to
allow.
2015-10-07 18:15:33 +02:00
Ciaran Gultnieks
42e5b5cfeb
Fix moving of gpg sigs between repo and archive
2015-10-06 08:32:00 +00:00
Daniel Martí
a229afe178
buildserver: Add gradle 2.7
2015-10-05 23:40:19 +02:00
Daniel Martí
73f9c1d1c2
Always use the same logging format
...
This helps differentiate errors, warnings and regular messages.
2015-10-05 21:43:08 +02:00
Daniel Martí
48645072ee
extension simplifications
2015-10-04 18:01:32 +02:00
Daniel Martí
aa3ca80ae6
write_metadata fixes
2015-10-04 18:01:23 +02:00
Daniel Martí
53ed335d4b
Final touches to yaml writing
...
Now it writes and reads properly.
2015-10-04 07:56:32 -07:00
Daniel Martí
23747edb25
bash-completion: add appid support for all formats
2015-10-04 07:55:55 -07:00
Daniel Martí
ac37e3084e
More improvements to yaml writing
2015-10-04 07:55:55 -07:00
Daniel Martí
9c5b5f7b60
Don't leave an empty line at the end
2015-10-04 07:55:42 -07:00
Daniel Martí
1aa891c4fd
Add basic yaml metadata writing
2015-10-04 07:55:42 -07:00
Daniel Martí
082e275aa1
Rename write_metadata to specify txt
2015-10-03 23:13:44 -07:00
Daniel Martí
885a3a73f1
Simplify format parsing logic
2015-10-03 23:00:18 -07:00
Daniel Martí
d8e1f296e0
scanner: don't error on partially used globs
...
This meant that using something like `scanignore=*` would error if there were
ignores happening in some directories/files, but not all.
Fixes #110
2015-10-03 17:00:22 -07:00
Daniel Martí
59f5d19dfe
Rework path glob expansion
...
Slightly simplifies the whole thing and lets us map what each resulting path
comes from. This will be useful to fix #110 later on.
2015-10-03 16:52:23 -07:00
Daniel Martí
75bde83fb8
import: fix issue tracker links
2015-10-03 16:28:48 -07:00
Daniel Martí
712deb4396
Don't use exists() on symlinks
...
If they are broken, exists() will return false. islink() will return true in
both cases.
2015-09-30 17:05:44 -07:00
Daniel Martí
1ed33bfa96
Smarter archive policy apk moving
...
* Move apks back from the archive repo (e.g. if builds are disabled thus the
number of apks on the main repo decreases)
* Also move apk signatures back and forth
2015-09-30 17:05:44 -07:00
Daniel Martí
4ea5ce8889
checkupdates: Ignore xml tags in string content
...
This allows us to fetch strings like the following:
<string name="app_name">foo <xliff:g>bar</xliff:g></string>
Up until now, using .text would only return "foo ", but if we use .tostring()
with the text method, it converts everything into plain text for us resulting
in "foo bar".
2015-09-30 16:35:41 -07:00
Daniel Martí
79475d055f
Fetch string contents in a safer way
2015-09-30 16:35:41 -07:00
Daniel Martí
cc017d70d2
Fix for bb2cbd527b
2015-09-29 20:39:36 -07:00
Daniel Martí
bb2cbd527b
Increase wiki error detail length limit
...
8k is too small, e.g. when make -jN errors or when there are a lot of scanner
errors and warnings. 16k should be better. Also, use "[...]" to make it
obvious that the output is truncated.
2015-09-29 12:51:11 -07:00
Daniel Martí
9c3fd97530
fdroid: don't treat MetaDataException as unknown
...
Up until now, if it was thrown, fdroid would crash with a full stacktrace as
if the program had stopped unexpectedly. Now it just prints the metadata
error, as intended.
2015-09-26 16:53:08 -07:00
Daniel Martí
811fcd320f
rewritemeta: add -l option to list files
2015-09-24 22:54:52 -07:00