Ciaran Gultnieks
b48239084d
Improve error reporting for rm problems
2013-11-15 09:46:04 +00:00
Ciaran Gultnieks
cd8bd62e0b
Ensure end of buildserver output is always captured
2013-11-13 18:45:37 +00:00
Ciaran Gultnieks
17f6e4d169
A couple of wiki improvements
2013-11-13 14:56:58 +00:00
Ciaran Gultnieks
0876c52e55
Revert "Switch to build-tools 19.0.0" - buggy build tools
...
This reverts commit a81aebb236
.
2013-11-13 14:54:38 +00:00
Ciaran Gultnieks
5a0bf1ddfb
Lose a lot of vbox/vagrant/general output noise
2013-11-12 22:21:35 +00:00
Ciaran Gultnieks
c75aa26115
Improve error output for missing extlibs
2013-11-12 20:14:16 +00:00
Ciaran Gultnieks
652674f4eb
Only say 'reading config file' in verbose mode
2013-11-12 20:00:15 +00:00
Ciaran Gultnieks
60fbbead5c
Silence silly warning on buildserver vm
2013-11-12 10:55:27 +00:00
Ciaran Gultnieks
9ea87f7078
Add texinfo to buildserver
2013-11-11 17:22:49 +00:00
Ciaran Gultnieks
3f2f4ef1ce
Add transfig to buildserver
2013-11-11 17:20:57 +00:00
Daniel Martí
355dc1bfd9
Fix crashes when writing boolean metadata fields
2013-11-10 17:27:47 +01:00
Daniel Martí
47f31b72c0
Revert "Revert "Don't allow values other than 'yes' or 'no' on boolean fields, integrity fixes""
...
Yo dawg
2013-11-10 17:27:47 +01:00
Ciaran Gultnieks
080536467b
Only print 'Nothing to do' in verbose mode
2013-11-09 15:39:12 +00:00
Ciaran Gultnieks
aa98a8d64a
Write buildserver ID to buildserver on creation
...
The ID of the buildserver is just the corresponding commit hash in
fdroidserver at the point where it was built, which should be enough to
uniquely identify a version of it.
The idea is that this will ultimately end up as metadata in an apk, such
that its precise lineage can be traced, and the exact same binary can be
reproduced.
2013-11-09 11:51:39 +00:00
Ciaran Gultnieks
a7c077634b
Revert "Don't allow values other than 'yes' or 'no' on boolean fields, integrity fixes"
...
This reverts commit 04f7485949
. Breaks too
many things.
2013-11-09 06:52:11 +00:00
Daniel Martí
04f7485949
Don't allow values other than 'yes' or 'no' on boolean fields, integrity fixes
2013-11-08 21:53:34 +01:00
Daniel Martí
6e0ad365d0
Don't pass config variables as arguments - much simpler code
2013-11-08 20:44:27 +01:00
Daniel Martí
72151355b1
Look for '.apk', not just 'apk', for ant/maven outputs
2013-11-08 19:03:23 +01:00
Daniel Martí
55e3fc9aa3
Fix maven apk finding method
2013-11-08 18:56:28 +01:00
Daniel Martí
b313c12637
Avoid crashes in rewritemeta regarding xrefs
2013-11-07 16:57:55 +01:00
Ciaran Gultnieks
3d849dccbc
Merge branch 'master' of gitorious.org:f-droid/fdroidserver
2013-11-07 08:12:15 +00:00
Ciaran Gultnieks
5245640fdc
Verify generated key alias uniqueness
...
Refuses to sign in the event of any problem - see comments for details
2013-11-07 08:11:05 +00:00
Daniel Martí
4f6fb4df82
Merge commit 'refs/merge-requests/129' of gitorious.org:f-droid/fdroidserver
2013-11-05 23:58:32 +01:00
Hans-Christoph Steiner
5f06fba591
init set config.py perms to 0600, otherwise warn user if config.py is not
...
Since config.py contains passwords in it, it should be protected as much as
possible. At the very least, the file permissions should be 0600 to
restrict access to user that actually edits and runs 'fdroid' commands.
2013-11-05 17:27:08 -05:00
Daniel Martí
af0ac4a4c2
os imported but not used in fdroid
2013-11-05 19:43:17 +01:00
Daniel Martí
40488a9486
Replace some 'if len(s) == 0' by 'if not s', remove unnecessary code
2013-11-05 19:42:29 +01:00
Ciaran Gultnieks
749739ec72
Docs for maintainer notes field
2013-11-05 16:40:23 +00:00
Ciaran Gultnieks
356f12ab2f
Write maintainer notes to wiki
2013-11-05 16:40:23 +00:00
Ciaran Gultnieks
ceee4c0e95
Handle 'Maintainer Notes' field in metadata
2013-11-05 16:40:23 +00:00
Daniel Martí
2b0badd4c4
Fix init with common, don't require cwd in FDroidPopen
2013-11-05 09:26:56 +01:00
Hans-Christoph Steiner
ee67e96aad
add new 'fdroid init' options to bash completion
2013-11-05 09:26:56 +01:00
Hans-Christoph Steiner
633103b1b6
add options to 'fdroid init': --distinguished-name and --repo-keyalias
...
These allow the user to set these config.py options from the command line
when initing a new repo.
2013-11-05 09:26:56 +01:00
Hans-Christoph Steiner
3ea4e08135
in 'fdroid init' if no keystore exists or was given, then generate it
2013-11-05 09:26:55 +01:00
Ciaran Gultnieks
75d616c5e5
Fix fdroid stats, checking config before reading it
2013-11-05 07:58:56 +00:00
Daniel Martí
cdccd89df4
Solve issues with fd-commit when no Auto Name is present
2013-11-05 00:11:54 +01:00
Daniel Martí
145b38252a
Basic completion for init, add --verbose to it
2013-11-04 20:28:32 +01:00
Daniel Martí
de0986e77d
Avoid init.py crash due to options being None
2013-11-04 20:21:24 +01:00
Daniel Martí
3638edd252
Make FDroidPopen a lot simpler, pythonize a few things
2013-11-04 20:19:31 +01:00
Daniel Martí
5cdca44b69
Use the new read_config in init.py
2013-11-04 20:03:45 +01:00
Daniel Martí
e2bcf4304d
Don't override built-in 'dir'
2013-11-04 20:01:30 +01:00
Daniel Martí
429221f282
Don't check for dirs and files in the main script
2013-11-04 18:41:20 +01:00
Hans-Christoph Steiner
85d32576eb
ignore egg-info and docs build products
2013-11-04 12:22:58 -05:00
Hans-Christoph Steiner
9344bca245
implement 'fdroid init' to set up a barebones repo from scratch
...
This tries to auto-detect the SDK and NDK. If it can't find the SDK, it
prompts the user to type in the path. It also tries to find the most
recent version of the build-tools, and should also support the old
unversioned layout.
2013-11-04 12:22:58 -05:00
Hans-Christoph Steiner
94342ee43c
install sample config files in a standard location
...
This means they'll automatically be installed in the right place by the
packaging processes of various UNIX distros, and then that makes it easy
for the upcoming 'fdroid init' to find them.
2013-11-04 12:20:19 -05:00
Daniel Martí
a8810b809a
Don't use proj.prop if not present (fixes tiltmazes)
2013-11-04 17:03:43 +01:00
Daniel Martí
a81aebb236
Switch to build-tools 19.0.0
2013-11-04 16:09:45 +01:00
Daniel Martí
1ef3e2408a
Implement forceversion and forcevercode for gradle projects
2013-11-04 16:09:23 +01:00
Daniel Martí
22a02a02c4
Fix sed typo that broke forceversion and forcevercode
2013-11-04 15:42:01 +01:00
Daniel Martí
7c5be575c6
Fix server.py NoneType error
2013-11-04 15:16:30 +01:00
Ciaran Gultnieks
9910e74242
Force apt-get update on buildserver creation
2013-11-04 12:35:53 +00:00