Commit Graph
186 Commits
Author SHA1 Message Date
Boris Kraut 22bdcb7acf docs: Add list of trusted maven repos 2015-09-21 21:51:35 +02:00
Daniel Martí 055759cf76 Rewrite scanner logic
Initially, the scanner used libmagic which used magic numbers in the file's
content to detect what kind of file it appears to be. Since that library isn't
available on all systems, we added support for two other libraries, mimetypes
amongst them.

The issue with mimetypes is that it only uses the file's extension, not its
actual content. So this ends in variable behaviour depending on what system
you're using fdroidserver on. For example, an executable binary without
extension would be ignored if mimetypes was being used.

We now drop all libraries - mimetypes too as it depends on the system's
mime.types file - and instead check extensions ourselves. On top of that, do
a simple binary content check to find binary executables that don't have an
extension.

The new in-house code without any dependencies doesn't add any new checks, so
no builds should break. The current checks still work:

 % fdroid scanner app.openconnect:1029
[...]
Found executable binary at assets/raw/armeabi/curl
Found executable binary at assets/raw/mips/curl
Found executable binary at assets/raw/x86/curl
Found JAR file at lib/XposedBridgeApi-54.jar
Found JAR file at libs/acra-4.5.0.jar
Found JAR file at libs/openconnect-wrapper.jar
Found JAR file at libs/stoken-wrapper.jar
Found shared library at libs/armeabi/libopenconnect.so
Found shared library at libs/armeabi/libstoken.so
Found shared library at libs/mips/libopenconnect.so
Found shared library at libs/mips/libstoken.so
Found shared library at libs/x86/libopenconnect.so
Found shared library at libs/x86/libstoken.so
2015-09-13 22:17:37 -07:00
Daniel Martí 664f6e4adb manual: Don't reuse scanignore doc in scandelete 2015-09-08 15:36:18 -07:00
Daniel Martí a782a615c6 manual: be explicit about what scandelete does 2015-09-08 15:23:45 -07:00
Hans-Christoph Steiner 19ac44c189 rewritemeta only applies to the original .txt metadata format 2015-09-01 11:53:37 +02:00
Hans-Christoph Steiner 6c44bff78b make note of JSON, XML, and YAML in the manual 2015-09-01 11:53:37 +02:00
Daniel Martí 377199d241 Follow-up to 5a0129d8: also replace file mentions 2015-08-29 20:19:32 -07:00
Hans-Christoph Steiner 99d0c55fe9 Merge branch 'support-vagrant-cachier' into 'master'
Add optional support for vagrant-cachier plugin

Building the basebox is excruciating for people on slow connections. I'm particularly sensitive to this after living in Central America for awhile :)

This won't affect anyone who hasn't installed the plugin. For those who do, it creates a persistent shared folder for each box (ie. testing23.box) and detects directories to cache between VM builds (apt, gems, pip, chef cache, etc.)

(The only downside is that, for those following server setup does who are not aware what vagrant-cachier does, it might be unexpected that artifacts persist between vagrant destroys.)

See merge request !25
2015-08-26 12:44:36 +00:00
Daniel Martí 06c94b3a44 Add support for gradle properties via gradleprops 2015-08-24 15:54:05 -07: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í 4ef3875bf0 Specify that CVC 0 means infinity 2015-08-14 14:25:06 -07:00
Daniel Martí bb2598d358 Add "Update Check Name:Ignore" 2015-08-14 10:27:16 -07:00
Hans-Christoph Steiner 70848301aa fix fdroid rewritemeta reference in manual 2015-08-05 14:05:17 +02:00
Ciaran Gultnieks fba632cf07 Update recommended base box 2015-07-21 22:12:52 +02:00
Daniel Martí 52c2ca1fe7 Replace NDK r10d with r10e 2015-06-18 17:05:48 +02:00
Daniel Martí 4b59f913f1 Merge branch 'changelog' of https://gitlab.com/krt/fdroidserver 2015-06-03 15:52:01 +02:00
Boris Kraut f3339daeee Update documentation to cover COMMIT, VERSION and VERCODE vars 2015-05-10 15:29:41 +02:00
Ciaran Gultnieks ea17f08112 Note about required python version 2015-02-01 20:31:46 +00:00
Boris Kraut ab84076154 Update docs: Add UpstreamNonFree; apps with AFs are not hidden. 2015-01-17 01:11:43 +01:00
Rancor a144edc455 Added docs how to get platform cache files (closes #53) 2015-01-16 21:59:33 +01:00
Ciaran Gultnieks 49549f4cad Remove support for git-svn with authentication 2015-01-11 17:46:10 +00:00
Boris Kraut b1ec8cc47a Add "Changelog:" metadata field. 2015-01-11 02:26:41 +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
Kevin Cernekee d899783884 manual: Clarify separation of Debian base box vs. F-Droid base box 2014-12-21 12:33:59 -08:00
Ciaran Gultnieks 2e56f4ecbf Merge branch 'some-bug-fixes' into 'master'
Some bug fixes and things

A couple of useful bug fixes and commits.

See merge request !28
2014-11-07 14:49:07 +00:00
Ciaran Gultnieks 05c2d18709 Merge branch 'update-vagrantfile' into 'master'
Update Vagrantfile and docs to clarify v1.4.3 is ok

Saw in the server docs that we were recommending 1.3.x and saying 1.4.x was broken. I've confirmed that 1.4.x works, and updated things accordingly. Higher version might work, but figured minimal change to build stuff was best :)

See merge request !24
2014-11-07 14:44:58 +00:00
Hans-Christoph Steiner 93adee0e2b do not include timestamps in .gz files of docs
The timestamps in the .gz files are not used for anything, and they break
the reproducibility of the build.  Giving --no-name means gzip will not
save the filename and timestamp in the gz file itself.  When gunziping, the
current file name will be used, minus the .gz suffix.
2014-10-23 14:26:11 -04:00
Daniel Martí 1757017b8a More list comprehension fixes 2014-09-13 13:07:21 +02:00
Daniel Martí a195556378 Make gradle and antcommands (previously antcommand) proper lists 2014-09-13 13:01:08 +02:00
Daniel Martí ce25054648 docs: Properly explain gradle= with multiple flavors 2014-09-13 12:27:10 +02:00
Patrick Connolly d1b5c4353d Add optional support for vagrant-cachier plugin. 2014-09-09 12:38:26 -03:00
Patrick Connolly c08d2092f6 Update Vagrantfile and docs to clarify v1.4.3 is ok. 2014-08-27 11:35:31 -03:00
Daniel Martí 80a4edc748 Add Update Check Name to docs 2014-08-15 14:03:33 +02:00
Tilman Beitter 9307f87627 fixed name and location of config.py sample file 2014-07-25 14:20:56 +02:00
Daniel Martí 452c13907c Little doc fixes 2014-07-05 12:05:54 +02:00
Daniel Martí 76ac2f591c Remove @dir support from gradle 2014-07-01 19:39:41 +02:00
Ciaran Gultnieks 946e79f2ce Minor manual typo fix 2014-05-13 22:14:19 +01:00
Ciaran Gultnieks 693f1e2a81 Add documentation for Update Check Ignore 2014-05-13 21:13:10 +01:00
Hans-Christoph Steiner 0cbe9690c9 update manual to use public https:// URLs to git repos
git@gitlab.com URLs require a gitlab login, https:// URLs do not
2014-04-22 22:59:27 -04:00
Daniel Martí b2406c3b57 Reflect new summary char limit 2014-04-20 19:15:40 +02:00
viccuad 64e5e1dd9d updated gitorious repo links to gitlab repo links 2014-04-12 17:07:31 +02:00
Daniel Martí edda052000 Error if buildjni= is present but no native code was packaged 2014-03-27 19:22:21 +01:00
Daniel Martí 0709df985f Update BV notation in the manual 2014-03-06 11:10:54 +01:00
Daniel Martí 0ecd5172b1 Make the 'update' flag a list too 2014-02-17 13:09:44 +01:00
Daniel Martí f894ac3b29 Docs '@' fix 2014-02-17 13:06:13 +01:00
Ciaran Gultnieks 995e5c84f0 Minor docs typo fix 2014-02-15 23:26:45 +00:00
Daniel Martí 24c9232398 Have all multi-value build flags work similarly
Semicolons are still supported, but commas are now the better standard.
2014-02-12 11:15:19 +01:00
Daniel Martí 5125b52e39 Remove fixapos and fixtrans
These are legacy fixes for very old versions of the Android SDK tools. These
issues have been fixed in stable versions for years.
2014-02-12 10:23:02 +01:00
Daniel Martí 1e80ebef6d Fix texinfo syntax 2014-02-10 16:42:04 +01:00
Daniel Martí fd1b708ef2 Finish fixing orderings 2014-02-10 16:39:56 +01:00