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

1905 Commits

Author SHA1 Message Date
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
Daniel Martí
45e68b45d4 Revert "Fix git-svn find-rev, also search for svn revisions after HEAD"
This reverts commit e35a1093cd.
2013-11-04 10:43:28 +01:00
Daniel Martí
fc804e68d2 Fixes to makebuildserver and verify 2013-11-04 10:22:22 +01:00
Daniel Martí
65e708908e Merge branch 'master' into verbose-rewrite
Conflicts:
	fdroidserver/common.py
2013-11-03 14:00:09 +01:00
Daniel Martí
962b603a6a variable typo 2013-11-03 13:54:55 +01:00
Daniel Martí
ccf0c0664f Default to update=auto, find subprojects automatically 2013-11-03 13:45:22 +01:00
Ciaran Gultnieks
bfaf162700 Allow auto-committer author to be specified in config 2013-11-03 12:07:47 +00:00
Daniel Martí
223b0ea061 Merge branch 'master' into verbose-rewrite 2013-11-03 11:53:36 +01:00
Daniel Martí
19ef29ed15 Add fd-commit package completion 2013-11-03 11:53:20 +01:00
Daniel Martí
8acbc33f0d fd-commit can now take app ids as filter; retab 2013-11-03 11:50:44 +01:00
Daniel Martí
070feb3d21 Fix all the possibe local.properties files, add sdk dir if oldsdk is not set 2013-11-03 11:49:11 +01:00