1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-07-07 09:50:07 +02:00
Commit Graph

59 Commits

Author SHA1 Message Date
Marcus Hoffmann
237973a1d6 bash_completion: fix option completion
Line breaks need to be escaped in the command list.
2017-09-13 14:02:04 +02:00
Hans-Christoph Steiner
7db6997eea add all subcommands to bash completion
The bash completion needs a modernization, but this at least makes all the
subcommands work.
#374
2017-09-13 09:53:26 +02:00
Hans-Christoph Steiner
4053f03d77 update: add --rename-apks to force APK filenames to fdroid standard
uses the standard package.name_123.apk.  If that exists, it appends the
shasum.  If that exists, then its a duplicate, so its deleted. This should
help @SergeWinters with his 12,000 APKs.
2017-06-01 16:01:05 +02:00
Hans-Christoph Steiner
c591a4cd89 fdroid btlog external binary transparency logger
This complements the binary transparency logging that happens on the
server side !226.  Anyone can set up an efficient tracker of any
F-Droid repo which stores all index files that it sees.  It uses HEAD
requests and ETag checking to be as efficient as possible, so that
this can be automatically run at a frequent pace.
2017-04-03 20:24:21 +02:00
Hans-Christoph Steiner
f79f08a1c1 update bash completion commenting to match standards 2017-03-06 11:53:58 +01:00
Dmitriy Bogdanov
476502fe8d Add '--use-date-from-apk' option to bash-completion 2016-02-18 16:42:16 +04:00
Daniel Martí
23747edb25 bash-completion: add appid support for all formats 2015-10-04 07:55:55 -07:00
Daniel Martí
811fcd320f rewritemeta: add -l option to list files 2015-09-24 22:54:52 -07:00
Daniel Martí
9eef437bca completion: set up _fdroid_* funcs at load time
This fixes an issue where these functions would not be created until fdroid
was completed at least once.
2015-09-02 21:23:08 -07:00
Hans-Christoph Steiner
3fc2a99d71 fdroid --version for installed releases and running from git
This will report the version embedded in the module if it is installed, and
will report `git describe` if being run from git.  If someone installs from
git using pip, this will probably report the version in setup.py, which
will be wrong.  But that is not a documented install method, and I haven't
heard of anyone using it.  The recommended way is to run straight from git.
2015-09-01 19:45:00 +02: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í
8917382e4f Add --no-refresh to the completion 2015-07-24 18:15:39 -07:00
Daniel Martí
d0a10e05d9 lint: get rid of -p/--pedantic
Only one check was left, and it's of little use anyway.
2015-06-07 14:05:29 +02:00
Ciaran Gultnieks
e8d7e69630 Add option to not use rsync --checksum 2015-01-11 15:35:04 +00:00
Daniel Martí
6f4ffefb05 Complete missing server options 2015-01-11 14:24:45 +01:00
Daniel Martí
443af0bba4 scanner --nosvn was removed 2015-01-11 14:22:30 +01:00
Daniel Martí
bf7a93ecf0 Complete update --nosign 2015-01-11 14:21:22 +01:00
Daniel Martí
679f3e0661 complete -h/--help for all commands implicitly 2015-01-11 14:19:31 +01:00
Daniel Martí
50a146bf6f Add signindex to bash-completion 2015-01-11 14:16:57 +01:00
Daniel Martí
14f6e519d1 Update fdroid init completion 2014-06-12 21:51:33 +02:00
Hans-Christoph Steiner
e68413a752 server: specify an identity file for SSH when rsyncing
This allows the SSH key used to sync with the server to be specified via
the config.py or the command line.  I need it for running automated tests
and setups.
2014-06-05 16:21:12 -04:00
Hans-Christoph Steiner
78d5ebf26c use 'metadata' name throughout: --createmeta to --create-metadata
To keep the naming used within fdroid consistent, I renamed this long flag
to use the whole word 'metadata' since that is what is used everywhere else
2014-06-04 21:54:56 -04:00
Hans-Christoph Steiner
af22962572 Fixes #8: if unknown APKs found, prompt to use -c or use --delete-unknown
This adds the option --delete-unknown for the current default behavior of
`fdroid update`: to delete any unknown APKs.  Instead, it just outputs a
warning about the unknown APKs and suggests -c for adding it.

Fixes #8 https://gitlab.com/fdroid/fdroidserver/issues/8
2014-05-29 13:40:06 -04:00
Daniel Martí
17b7f192b5 Add missing -q/--quiet completions 2014-05-06 16:19:05 +02:00
Daniel Martí
965c767d8b Update 'fdroid build' args on bash-completion 2014-04-29 09:28:44 +02:00
Ciaran Gultnieks
73c73db0e9 Add extra options to import completion 2014-04-29 07:41:48 +01:00
Daniel Martí
cd666bb8e8 Properly complete partially written vercodes 2014-04-18 23:56:25 +02:00
Daniel Martí
d5c62d3bbd Separate lint messages into warnings and pedantic warnings 2014-03-18 12:20:40 +01:00
Daniel Martí
27c0caba60 Fix bash-completion header 2014-02-19 01:22:38 +01:00
Daniel Martí
898e4485c2 Add another build option to skip source scanning
It can be very slow on large source code dirs, and if one is trying to get an
application building and the scan already succeeded once, running it again and
again is a waste of time.
2014-02-16 17:40:54 +01:00
Daniel Martí
adaa460082 readmeta doesn't take any arguments 2014-02-15 00:00:05 +01:00
Daniel Martí
1ff5f1b2f8 Add readmeta completion 2014-02-05 09:21:28 +01:00
Daniel Martí
96885fc8c8 Fix fdroid import completion
For some reason, the newline was keeping it from working
2014-01-10 20:28:48 +01:00
Daniel Martí
b3fd84e290 Add fdroid lint completion 2014-01-03 00:12:42 +01:00
Daniel Martí
8717525d92 Remove a few unnecessary vars 2013-12-31 10:17:49 +01:00
Daniel Martí
e7a21980f5 Add copyright notices to bash scripts 2013-12-30 17:15:27 +01:00
Daniel Martí
19ea8fd894 Adapt verify 2013-12-19 23:14:22 +01:00
Daniel Martí
0a770cf4bc Adapt scanner, fix some other issues 2013-12-19 23:06:57 +01:00
Daniel Martí
b4b2e74082 Adapt rewritemeta 2013-12-19 22:59:32 +01:00
Daniel Martí
61def95320 Adapt publish to new format, improve completion 2013-12-19 22:55:17 +01:00
Daniel Martí
84bf3d758f Better parsing of args, install now works as it should 2013-12-19 17:51:16 +01:00
Daniel Martí
3aec0aacd7 Adapt checkupdates 2013-12-19 17:05:40 +01:00
Daniel Martí
93d8d23cee Add 'fdroid install', more rewriting 2013-12-19 17:05:40 +01:00
Daniel Martí
a4780c2107 Start rewrite: Remove --package and --install from 'build' 2013-12-19 17:05:40 +01:00
Daniel Martí
f4140a17c3 Fix subdir tweaks in the bash completion 2013-11-18 15:40:00 +01:00
Daniel Martí
f384b5f761 complete packages from within the metadata dir too 2013-11-18 15:26:57 +01:00
Hans-Christoph Steiner
ee67e96aad add new 'fdroid init' options to bash completion 2013-11-05 09:26:56 +01:00
Daniel Martí
145b38252a Basic completion for init, add --verbose to it 2013-11-04 20:28:32 +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