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

3249 Commits

Author SHA1 Message Date
Hans-Christoph Steiner
70848301aa fix fdroid rewritemeta reference in manual 2015-08-05 14:05:17 +02:00
Hans-Christoph Steiner
1bb14d2f82 run-tests: fix quoting to prevent spurious execution of fdroid update 2015-08-05 13:36:21 +02:00
Hans-Christoph Steiner
6f1d1b81be rename README to README.md in MANIFEST.in
this stops `python setup.py` from failing...
2015-08-05 10:35:14 +02:00
Daniel Martí
59883851ae Bump to 0.4.0 2015-08-04 23:01:16 -07:00
Hans-Christoph Steiner
21b79cdea5 Merge branch 'master' into 'master'
Port README to markdown

Also add instructions for Arch-Linux.

You can take a look on it [here](https://gitlab.com/NicoAlt/fdroidserver/blob/master/README.md).

See merge request !60
2015-08-04 20:56:16 +00:00
Nico Alt
94881ba10d Correct filename in setup.py 2015-08-04 21:02:06 +02:00
Nico Alt
1560235424 Port README to markdown
Also add instructions for Arch-Linux.
2015-08-04 13:00:01 +02:00
Daniel Martí
9fa5fe15f1 Add automake1.11 for gpg 2015-08-03 21:49:32 -07:00
Daniel Martí
01cd81e19b Merge branch 'master' into 'master'
let setuptools determine the base install path on OSX

This is the last commit from me before the 0.4.0 release.  Its ready to go!

A gentle reminder:
* sign the tag: `git tag -s 0.4.0 -m "tagging release 0.4.0"`
* release tags are `0.4.0` format, not `v0.4.0`
* change the version in `setup.py` to match the tag exactly, char by char

Then I'll post the update to pypi.python.org

See merge request !59
2015-08-03 21:02:56 +00:00
Hans-Christoph Steiner
82acf3a0f8 let setuptools determine the base install path on OSX
Instead of trying to guess which absolute path and .egg name
everything will be installed into, just use a relative path and the
setup process will do the right thing (so far, at least).
2015-08-03 22:17:20 +02:00
Daniel Martí
00ace20d9b Add gradle plugin version 1.3 to our wrapper 2015-08-03 11:34:20 -07:00
Ciaran Gultnieks
944d38d79e Merge branch 'update-install' into 'master'
README: ppa only works for Ubuntu based systems

See merge request !58
2015-08-03 12:44:30 +00:00
Ciaran Gultnieks
581bc3c541 Merge branch 'bsd-osx-porting-and-tests' into 'master'
BSD/OSX porting and tests

This makes `fdroid init` and `fdroid update` work on BSD/OSX and maybe Cygwin also (I didn't test Cygwin).  It also makes the install process more tolerant, like not requiring `python-magic` to run, while using it if its available.

Some fixes and additional tests are also included.  The commit messages have more info.

See merge request !56
2015-08-03 12:43:15 +00:00
Hong Xu
fef4d8a227 README: ppa only works for Ubuntu based systems 2015-08-02 17:11:44 -07:00
Hans-Christoph Steiner
e2cbaff377 jenkins-build: run test suite from pip install using source tarball
Since `python setup.py sdist` provides the actual tarball that will be
installed via `easy_install`, `pip install`, etc. it should also be tested.
The existing `pip install -e $WORKSPACE` tests the .egg-link install format
2015-08-01 12:30:58 +02:00
Hans-Christoph Steiner
a020625462 support egg-link format when installed from git repo
If you run `python setup.py install` from the git repo, then it will be
installed using the .egg-link format, which just points to the git repo.
`fdroid init` needs to handle that when looking for example files to copy.
2015-08-01 00:38:41 +02:00
Hans-Christoph Steiner
45ffaac3f2 update install instructions in README 2015-08-01 00:38:41 +02:00
Hans-Christoph Steiner
f38619ef5f chmod keystore after checking whether it was created
On OSX, when Java is not installed, it'll fail to create the keystore, but
then give an error from chmod failing.  This changes things so that the
missing Java is reported instead.
2015-08-01 00:38:41 +02:00
Hans-Christoph Steiner
1c1f481fcc support installing as a Python .egg
For platforms where easy_install is a good option, like OSX, support
the Python .egg library format.
2015-08-01 00:38:41 +02:00
Hans-Christoph Steiner
752b258ba7 get MIME types without strictly requiring python-magic
There are two forms of python-magic, one included in libmagic that is
default on Debian, and another Python wrapper for libmagic that is
called 'python-magic' on pypi.  Those both rely on the compiled binary
library libmagic.  For platforms without good package management, fallback
to using the built-in 'mimetypes' library if 'magic' is not available.

This supports OSX, Windows, and BSD.
2015-08-01 00:38:41 +02:00
Hans-Christoph Steiner
37694a6155 fix installing via OSX's easy_install 2015-08-01 00:38:41 +02:00
Hans-Christoph Steiner
176029aefb remove non-existant files from the MANIFEST.in 2015-08-01 00:38:41 +02:00
Hans-Christoph Steiner
64a9c93ce7 test new common.regsub_file() method that replaces sed calls 2015-08-01 00:38:41 +02:00
Hans-Christoph Steiner
85febd40d1 use common.regsub_file() instead of Popen(sed)
Python libraries work better in Python than running external commands, and
it also makes the code much more portable.  For example, the GNU and BSD
sed commands have different, and sometimes conflicting, flags.

This also reworks the regexp patterns to be more tightly focused, and not
change the same variable name in comments or elsewhere.
2015-08-01 00:38:41 +02:00
Alex Burka
4a478528c2 tests: short args for mktemp to support BSD
*BSD and OSX do not have compatible long args
2015-08-01 00:38:40 +02:00
Hans-Christoph Steiner
316d71d46c show commented out examples for setting sdk_path and ndk_paths
Instead of just mirroring the defaults in the example config.py, show a
useful example of how they might be set.
2015-08-01 00:38:40 +02:00
Hans-Christoph Steiner
b8a3bce430 run-tests: fix copying of urzip.apk into new repo 2015-08-01 00:38:40 +02:00
Hans-Christoph Steiner
d01e814e36 run-tests: run fdroid readmeta after each --create-metadata
Just another basic check, this time for `fdroid readmeta`.
2015-07-30 22:19:10 +02:00
Daniel Martí
fd6e323ba9 lint: exit with an error code if any errors are found 2015-07-30 12:46:42 -07:00
Daniel Martí
bc5d5cbd83 Also use OptionParser in readmeta to add -h/--help 2015-07-30 11:35:25 -07:00
Daniel Martí
b4d768b225 Merge branch 'some-compatibility-fixes' of https://gitlab.com/eighthave/fdroidserver 2015-07-27 10:41:23 -07:00
Daniel Martí
8917382e4f Add --no-refresh to the completion 2015-07-24 18:15:39 -07:00
Daniel Martí
343c7de29f Merge branch 'no-refresh' of https://gitlab.com/aelmahmoudy/fdroidserver 2015-07-24 18:11:15 -07:00
Daniel Martí
db7eda3b47 Be more specific about empty build flags 2015-07-24 18:08:48 -07:00
Hans-Christoph Steiner
f625005ec3 remove dependency on wget for 'build' and 'verify'
To make the core tools portable to platforms like Mac OS X and Windows,
remove the dependency on wget and instead use Python Requests, which
probably has better performance anyway.
2015-07-24 11:53:14 -07:00
Hans-Christoph Steiner
cef7553873 update: warn if APK has a date that is newer than the system clock
If the date in an APK is in the future, that could cause confusion.  If the
system clock is wrong, then the APK will also have a date in the future.
This is most likely on offline signing machines, since they do not have a
time source to sync to.
2015-07-23 10:39:30 -07:00
Hans-Christoph Steiner
bd3ae88608 extend text char limits to match other app stores
We should be compatible with other apps stores unless there is a specific
reason not to be.

* Google Play, Amazon, and iTunes all have 4000 char descriptions

For the summary, we can just bump it up to the same as what Play has
* Google Play allows an 80 char "Short Description"
  https://support.google.com/googleplay/android-developer/answer/113469?hl=en
* Amazon allows a 1200 char "Short Description"
  https://developer.amazon.com/public/support/submitting-your-app/tech-docs/submitting-your-app#Add Metadata and Image Assets
2015-07-23 10:39:30 -07:00
Ciaran Gultnieks
fba632cf07 Update recommended base box 2015-07-21 22:12:52 +02:00
أحمد المحمودي (Ahmed El-Mahmoudy)
44335b64be Add an option to disable repository refresh
This is useful for testing builds with no internet connection, and the
repositories were already fetched previously
2015-07-14 17:43:07 +02:00
Daniel Martí
09a0aa2eb9 Also find usual suspects in gradle files 2015-07-05 14:26:41 -07:00
Ciaran Gultnieks
0bd5be2ea3 Fix update fail when icons are missing
Introduced yesterday, I believe.
2015-06-29 11:17:59 +02:00
Daniel Martí
b848b99bab Always clean and reset all submodules 2015-06-28 19:37:28 -07:00
Daniel Martí
3492ec6eff Hotfix: Client 0.92 breaks if web/source/tracker are missing
Revert this commit after a few stable releases
2015-06-28 11:45:06 -07:00
Daniel Martí
af692dd3bd Stable clients understand UpstreamNonFree now 2015-06-26 18:00:34 +02:00
Daniel Martí
7b2f7077bc Hotfix for 7b68b90569 - don't cal .split() on None 2015-06-26 17:58:57 +02:00
Daniel Martí
7b68b90569 update: never include empty elements in the index 2015-06-26 17:41:19 +02:00
Ciaran Gultnieks
d866ab4cef Fix imagemagick (broken in d9bbb507) 2015-06-25 22:53:11 +02:00
Daniel Martí
00668b254c Replace some FDroid strings with F-Droid 2015-06-21 13:51:23 +02:00
Daniel Martí
e55d1450d1 Update the Android SDK to 24.3.3 2015-06-19 21:17:43 +02:00
Daniel Martí
5aa9e2289d Improve xml string extracting support
* Shield ourselves from newlines that would break metadata files
* Properly use string resources for version names
2015-06-18 17:54:56 +02:00