Daniel Martí
685eb188b1
Fix checkupdates appid managing
2014-03-21 19:11:08 +01:00
Daniel Martí
758f88af7b
Don't use 'yes' as flavour
2014-03-21 19:10:50 +01:00
Daniel Martí
0b50566f0f
Add "Update Check Name" for Tags/RM apps that programmatically change their appid
2014-03-18 23:37:15 +01:00
Ciaran Gultnieks
6b309aff41
Don't use an autoname if it's not found
2014-03-16 22:12:37 +00:00
Ciaran Gultnieks
e642561676
Extra debug logging for autoname gathering
2014-03-16 08:43:24 +00:00
Ciaran Gultnieks
44e9ee436b
Simplify/unify checkupdates file write and commit message
2014-03-16 08:22:35 +00:00
Ciaran Gultnieks
e6842d0078
Formatting
2014-03-15 17:28:34 +00:00
Ciaran Gultnieks
99bf37302a
Don't skip checkupdates commits due to no message
2014-03-15 17:23:20 +00:00
Daniel Martí
fa0f9bf1af
Treat None and Static UCMs equally when doing checkupdates
2014-03-11 09:03:18 +01:00
Ciaran Gultnieks
d4d7a9957d
Clarify non-auto-update error message
2014-03-11 07:55:46 +00:00
Ciaran Gultnieks
0b31a7a37c
Don't do autoname when update checking is disabled
...
Much of that stuff has checking set to None because the source repo is
not accessible. Attempting to pull it is just filling logs with
exception messages which are likely to be masking real errors.
2014-03-11 07:53:30 +00:00
Daniel Martí
06d75f8473
Always write Auto Name changes
2014-03-11 08:32:10 +01:00
Ciaran Gultnieks
76492ee9da
Correction to bb16e37
2014-02-23 22:37:10 +00:00
Ciaran Gultnieks
bb16e37a24
Improve checkupdates output further
2014-02-22 10:03:19 +00:00
Ciaran Gultnieks
37dda9414c
Add --quiet option, restricting output to warnings/errors
2014-02-22 09:46:24 +00:00
Ciaran Gultnieks
5920d636dc
Fix some checkupdates logging levels
2014-02-22 09:32:29 +00:00
Ciaran Gultnieks
75b787b9ce
Revert "Avoid auto-name exception noise"
...
This reverts commit ce8bca7971
.
2014-02-22 09:13:00 +00:00
Ciaran Gultnieks
ce8bca7971
Avoid auto-name exception noise
2014-02-22 09:11:50 +00:00
Daniel Martí
32ae8bc565
Don't auto update apps with the latest build disabled
2014-02-19 11:05:55 +01:00
Daniel Martí
24cd80ae80
Forgot a dev print (again)
2014-02-10 12:21:42 +01:00
Daniel Martí
409188a4e5
Simplify 'Tags <pattern>' by using regex on top of vcs.gettags()
...
This automagically enables support for pattern-based tags for all vcs types
that support Tags
2014-02-10 12:20:22 +01:00
Daniel Martí
08607a3cd4
Support UCM:Tags <pattern> using git tag -l <pattern>
2014-02-10 11:29:12 +01:00
Daniel Martí
2f93ba9bd6
Merge branch 'master' into logging
...
Conflicts:
fdroidserver/common.py
2014-01-28 14:14:59 +01:00
Daniel Martí
3687147997
Update my own copyright notices
2014-01-28 14:07:19 +01:00
Daniel Martí
1b743e8b74
More logging
2014-01-27 21:49:29 +01:00
Daniel Martí
d04d4cc24c
Also catch cases where stored is e.g. None
2014-01-15 17:45:47 +01:00
Jean Privat
934037fe3c
checkupdates --gplay: inform if not bigger but different version
...
Could be useful to detect some potential issues.
eg. if comparison with LooseVersion is too lose or if there is some
renumbering in the application.
This is activated only if options.verbose is set
Signed-off-by: Jean Privat <jean@pryen.org>
2014-01-15 11:33:35 -05:00
Jean Privat
01c45a054d
checkupdates --gplay: handle the case when Current Version is empty
...
Signed-off-by: Jean Privat <jean@pryen.org>
2014-01-15 11:33:35 -05:00
Jean Privat
ff523a6425
checkupdates --gplay: missing reason crashes print
...
Signed-off-by: Jean Privat <jean@pryen.org>
2014-01-15 09:03:09 -05:00
Ciaran Gultnieks
2ac595e4ec
A little bit of extra checkupdates diagnostics
2014-01-07 13:40:02 +00:00
Daniel Martí
7f6761c436
Improve checkupdates regex, support quotes better for build.gradle
2014-01-07 10:04:11 +01:00
Daniel Martí
27c7990261
Forgot one --package line on build.py
2013-12-20 18:44:39 +01:00
Daniel Martí
99b5d5e387
Get rid of more unnecessary finds
2013-12-20 09:42:10 +01:00
Daniel Martí
8f3a2d4355
Add some remaining help strings
2013-12-19 23:18:27 +01:00
Daniel Martí
61def95320
Adapt publish to new format, improve completion
2013-12-19 22:55:17 +01:00
Daniel Martí
3aec0aacd7
Adapt checkupdates
2013-12-19 17:05:40 +01:00
Ciaran Gultnieks
d0bc41da49
Improve checkupdates error message
2013-12-11 09:28:31 +00:00
Ciaran Gultnieks
12dbc82c37
Fix checkupdates (broken since 996f14)
2013-12-04 14:23:26 +00:00
Daniel Martí
996f141da8
Make app and version name formats a standard
2013-12-02 15:35:25 +01:00
Daniel Martí
fb38eb6b8c
First metadata checks rewrite; New metadata.py module
2013-11-19 15:35:16 +01:00
Daniel Martí
be0b215ead
Fix auto names for apps using RM/branch
2013-11-13 17:31:53 +01:00
Ciaran Gultnieks
080536467b
Only print 'Nothing to do' in verbose mode
2013-11-09 15:39:12 +00:00
Daniel Martí
6e0ad365d0
Don't pass config variables as arguments - much simpler code
2013-11-08 20:44:27 +01:00
Daniel Martí
65e708908e
Merge branch 'master' into verbose-rewrite
...
Conflicts:
fdroidserver/common.py
2013-11-03 14:00:09 +01:00
Ciaran Gultnieks
bfaf162700
Allow auto-committer author to be specified in config
2013-11-03 12:07:47 +00:00
Daniel Martí
67b8825560
Merge branch 'master' into verbose-rewrite
2013-11-02 19:56:31 +01:00
Daniel Martí
5644b17048
Various fixes: hg vcs updating, gradle vercode regex...
2013-11-01 19:12:22 +01:00
Daniel Martí
d525d987e2
Merge branch 'master' into verbose-rewrite
2013-11-01 13:55:42 +01:00
Daniel Martí
c3be06fb1d
Start rewriting options and config as common.py globals
2013-11-01 13:55:38 +01:00
Daniel Martí
1d88ba5450
No quotes in --commit messages
2013-11-01 13:55:38 +01:00
Daniel Martí
8a6267b126
--auto --commit now behaves like fd-commit, consistency
2013-11-01 13:55:38 +01:00
Daniel Martí
341fc6657a
Fix --auto for the new BV syntax
2013-11-01 13:55:38 +01:00
Daniel Martí
a218d2aff0
Forgot to actually use the real repotype variable
2013-11-01 13:55:37 +01:00
Daniel Martí
d507b2e894
New metadata field: Vercode Operation
2013-11-01 13:25:50 +01:00
Daniel Martí
e24a89916a
No quotes in --commit messages
2013-11-01 11:05:41 +01:00
Daniel Martí
9edc302543
--auto --commit now behaves like fd-commit, consistency
2013-10-31 18:20:45 +01:00
Daniel Martí
8767dc3059
Fix --auto for the new BV syntax
2013-10-31 17:59:45 +01:00
Daniel Martí
48e5f61391
Forgot to actually use the real repotype variable
2013-10-31 17:35:13 +01:00
Ciaran Gultnieks
94598a05f5
Display previously ignored checkupdates error
2013-10-31 15:39:47 +00:00
Ciaran Gultnieks
08287a1fa8
Handle repo config in a more sensible way
2013-10-31 15:37:39 +00:00
Daniel Martí
6bff3f4e77
Did not mean to commit these
2013-10-31 15:45:16 +01:00
Daniel Martí
8af027011d
Skip the single app, not all of them...
2013-10-31 15:43:36 +01:00
Daniel Martí
ccac349a4c
Get rid of unnecessary indentation
2013-10-31 15:42:58 +01:00
Daniel Martí
2c804ef88a
Switch all shebangs to 'env python2'
2013-10-31 13:27:24 +01:00
Daniel Martí
4c5cd7a360
Add support for UCM:Tags in bzr
2013-10-30 21:54:09 +01:00
Ciaran Gultnieks
3a045e40c3
Some diagnostic output for http update check mode
2013-10-29 19:32:51 +00:00
Daniel Martí
1a4b18e2e8
Retrieve app and version name from the same tag in UCM:Tags
2013-10-29 09:55:15 +01:00
Daniel Martí
b75d8b7271
New Update Check Mode: RepoTrunk
2013-10-17 23:27:55 +02:00
Daniel Martí
ca2d830e7f
Forgot to fix UCM:Tags for srclibs too
2013-10-09 23:39:44 +02:00
Daniel Martí
b184610913
Fix issues with srclib checkupdates
2013-10-09 23:37:53 +02:00
Ciaran Gultnieks
381bbb60ac
Improve http update check mode
2013-10-01 15:06:02 +01:00
Ciaran Gultnieks
e9aff5f31d
Add HTTP update check mode
2013-10-01 10:19:17 +01:00
Daniel Martí
89a4e17c3b
Added myself to copyright notices
2013-09-28 21:06:33 +02:00
Daniel Martí
c4237fe732
Fixes to gotorevision(None)
...
Up until now, this would do nothing in most cases
2013-09-15 23:20:42 +02:00
Daniel Martí
94b083063a
Add UCM:Tags support to hg
2013-09-06 20:33:47 +02:00
Daniel Martí
277788898e
Only change Auto Name if new release
2013-09-04 18:25:29 +02:00
Daniel Martí
33b489c65d
Better CV update prints and commit messages
2013-08-29 16:17:12 +02:00
Ciaran Gultnieks
9137a611e0
Only do an update if the vercode changes
...
(mainly to work around a recently introduced issue where the name
changes and then changes straight back!)
2013-08-27 16:42:25 +01:00
Daniel Martí
a0d3c2c80d
Do not say "manifest exists" if that's not the case
2013-08-15 12:22:49 +02:00
Daniel Martí
990321d33d
Fetch CV @string values at checkupdates
2013-08-15 12:15:44 +02:00
Daniel Martí
b395095949
Rename market to gplay
2013-08-14 14:51:17 +02:00
Daniel Martí
cb1df491f4
Add --market to checkupdates
2013-08-14 14:26:55 +02:00
Daniel Martí
40d5191a0a
Remove UCM:Market
2013-08-14 13:39:00 +02:00
Daniel Martí
0ad09f6481
Improve checkupdates further, Auto Name works with gradle
2013-08-13 15:58:43 +02:00
Daniel Martí
cf47e151f7
Small fixes to checkupdates
2013-08-13 14:51:40 +02:00
Daniel Martí
578e030ee6
Try and adapt checkupdates to gradle better
2013-08-13 12:02:48 +02:00
Daniel Martí
1e7bfc9864
Don't run gradle during checkudpates. Use whatever can be found.
2013-08-09 17:15:27 +02:00
Daniel Martí
d86a68b858
Fix gradle checkupdates with tags and RM. new settings.
2013-08-08 12:55:48 +02:00
Daniel Martí
8c8a20bcb1
Merge master into gradle
2013-08-03 18:37:29 +02:00
Daniel Martí
8866724f05
Use new manifest path function in checkupdates
2013-08-03 18:08:49 +02:00
Ciaran Gultnieks
73c3a78fc6
Wait a sec before snapshot
2013-07-31 17:39:56 +01:00
Daniel Martí
9f192ae920
Fix UCM:Market version name matching
2013-07-21 15:01:41 +02:00
Daniel Martí
f44ad6711a
Fix dumb mistake
2013-07-04 15:26:47 +02:00
Daniel Martí
c663b9b6e6
Warn about nonexistent subdirs in RM
2013-07-04 13:54:59 +02:00
Daniel Martí
c46abf6b14
Basic support for RM in bzr without branches
2013-06-24 20:16:42 +02:00
Ciaran Gultnieks
6e904fba74
Resolve some autoname problems
2013-06-14 07:16:58 +01:00
Ciaran Gultnieks
a452cdb704
In fact, don't commit those at all, generating 800 commits is silly
2013-06-11 22:29:05 +01:00
Ciaran Gultnieks
223d79f372
Don't override a real update log message
2013-06-11 22:25:45 +01:00
Daniel Martí
58f555737f
Add "Auto Name" field, fill it in checkupdates
2013-06-11 00:30:30 +02:00
Ciaran Gultnieks
bd46fcfa99
Extra http resilience in checkupdates
2013-06-03 10:25:20 +01:00
Ciaran Gultnieks
94afbd8878
Merge branch 'master' of gitorious.org:f-droid/fdroidserver
2013-05-31 07:59:50 +01:00
Ciaran Gultnieks
78aa9d1874
Don't hang or crash in checkupdates
2013-05-31 07:50:21 +01:00
Daniel Martí
1ad1e85373
git-svn can now use RM/branch too
2013-05-27 15:11:46 +02:00
Daniel Martí
2d8ccbb658
Tags and RM with no builds default to no subdir
2013-05-26 20:17:47 +02:00
Daniel Martí
d2bce9e732
Remove "Whoops" exit.
2013-05-26 13:07:56 +02:00
Daniel Martí
0861f870a3
More os.path.join() use cases
2013-05-24 23:43:49 +02:00
Daniel Martí
79ec50719d
Add Tags and RM support for srclib, don't copy dir
2013-05-24 23:35:56 +02:00
Daniel Martí
c2196b2328
Use vcs.repotype() to support RT:srclib in RM too
2013-05-24 15:42:23 +02:00
Daniel Martí
642831c78f
No need to checkout to master for Tags
...
This fixes many occurences of Tags/RM not working since master doesn't exist
on some repos, e.g. com.better.alarm.
2013-05-22 17:45:14 +02:00
Daniel Martí
3b51aff818
Update svn repo before checking RepoManifest
2013-05-21 20:21:46 +02:00
Daniel Martí
d8054700cc
Port RM UCM to svn and hg
2013-05-17 22:30:35 +02:00
Ciaran Gultnieks
73922c881d
Watch out for rogue log messages
2013-05-15 16:03:09 +01:00
Daniel Martí
f6fb7416c5
Fall back to res/values to avoid @strings/app_name
2013-05-14 20:50:40 +02:00
Daniel Martí
3a7786d280
Add support for branches in the RepoManifest UCM.
2013-05-14 20:01:45 +02:00
Daniel Martí
3abfa5714c
git-svn improvements
...
New features:
* Support for Tags, which allow their use on recipes
* Add Tags Update Check Mode support to git-svn
* Add RepoManifest Update Check Mode support to git-svn
2013-04-05 15:43:12 +02:00
Ciaran Gultnieks
1937bf7a4a
Fix static check mode
2013-03-24 08:08:59 +00:00
Ciaran Gultnieks
81d20c7637
Add Static update check mode (issue #201 )
2013-03-23 07:35:09 +00:00
Ciaran Gultnieks
cf1ff3a0da
checkupdates: ignore tags where manifest doesn't exist
2013-03-21 14:21:01 +00:00
Daniel Martí
7bb4d5865b
has_key() is uglier and slower than "if key in..."
2013-03-13 17:56:17 +01:00
Ciaran Gultnieks
80808133d4
Various minor improvements to update checking
2013-02-11 15:24:01 +00:00
Ciaran Gultnieks
f2cf7c146b
Support version suffix when generating auto-builds
2013-01-21 11:09:05 +00:00
Ciaran Gultnieks
9bd5983a8d
Fix auto-update version code comparison
2012-09-24 14:05:57 +01:00
Ciaran Gultnieks
4f3ba11dcb
Fix update writing, broken yesterday
2012-09-21 13:08:01 +01:00
Ciaran Gultnieks
aef5b74437
Added auto-update mode
2012-09-20 14:16:55 +01:00
Ciaran Gultnieks
09e296d2de
Lots of build system improvements and fixes
2012-09-08 09:56:20 +01:00
Ciaran Gultnieks
448fa61d0c
Whoops, wrong language
2012-09-06 18:36:00 +01:00
Ciaran Gultnieks
c2ff1be72c
Filter silly version codes (e.g. 007) when checking updates
2012-09-04 18:52:33 +01:00
Ciaran Gultnieks
b79ba3c630
Added Tags update check method
2012-08-23 14:25:39 +01:00
Ciaran Gultnieks
ee7dc908ae
Fixed exception handling in checkupdates command
2012-04-19 10:57:12 +01:00
Tias Guns
ab0ed81702
checkupdates: use -p check like in build.py, give error if package does not exist
2012-03-11 23:17:45 +00:00
Ciaran Gultnieks
f643b0498c
Make the server tools an installable package (with distutils) - wip
2012-03-11 11:59:19 +00:00