Commit graph

1944 commits

Author SHA1 Message Date
Alexander van Gessel
5523fa577b Add OAuth2 support to wescamp.py 2012-10-15 16:19:22 +01:00
Elias Pschernig
1dc6611a02 Fixed bug in wmlparser2...
...where <<>> strings were not ignored inside "" strings.
2012-10-04 21:37:33 +00:00
Alexander van Gessel
086453387a Point wescamp's CIA hook to the irker instance+proxy running at ai0867.net 2012-09-28 01:19:57 +01:00
Alexander van Gessel
0595030307 Move some docstrings to their proper location
(*inside* the function they document)
2012-09-25 14:13:11 +01:00
Alexander van Gessel
63acfbc57f Prettify some code and update some docstrings 2012-09-25 14:13:09 +01:00
Alexander van Gessel
dd0d23e72e Some robustness against malformed timestamps 2012-09-25 14:13:07 +01:00
Alexander van Gessel
a2f64398e7 Close the file before git adding it, so you can be sure the buffers...
...have been flushed.
2012-09-25 14:13:02 +01:00
Alexander van Gessel
b9f79ac221 Factor out the addon-server to github sync into its own function,
...and make it compare timestamps before downloading.
2012-09-24 15:18:40 +01:00
Alexander van Gessel
99d5f03e1e Get rid of a now-unused variable 2012-09-24 15:18:37 +01:00
Alexander van Gessel
2c6a43308f Always check if the build-system is up-to-date.
If it's not, update it. Also, comments and logging.
2012-09-24 13:39:55 +01:00
Alexander van Gessel
9143a4a9fa Make get_timestamp a bit more efficient 2012-09-24 00:36:03 +01:00
Alexander van Gessel
d3be257e00 Add timestamp and commitstamp for add-on and build-system 2012-09-24 00:36:01 +01:00
Alexander van Gessel
443fe64e67 Move build-system checkout updating so it's done only once 2012-09-24 00:35:58 +01:00
Alexander van Gessel
218f1c4e45 Turn the mix of signed int and signed long into unsigned int 2012-09-23 02:25:02 +01:00
Alexander van Gessel
9a36daf253 Make at most 1 temporary build-system clone...
...and get rid of it when you're done
2012-09-16 01:50:01 +01:00
Alexander van Gessel
e0bdb61808 Correct a comment about __del__() usage in globals in python 2012-09-16 01:49:59 +01:00
Alexander van Gessel
ea822f4215 try to init the build system if it's missing 2012-09-14 18:24:51 +01:00
Alexander van Gessel
599082cd5a Don't rmdir directories that git rm has already taken care of 2012-09-14 18:24:49 +01:00
Alexander van Gessel
735390e070 Reduce verbosity of some debug output 2012-09-14 18:24:47 +01:00
Alexander van Gessel
359cf34ad0 Have init_build_sys and pot_update return a boolean 2012-09-14 18:24:46 +01:00
Alexander van Gessel
a84edcf4bc Some more error detection and correction for init_build_sys and pot_update 2012-09-14 18:24:44 +01:00
Alexander van Gessel
6587d02ef4 Do not commit po/Makefile anymore 2012-09-10 11:30:32 +01:00
Alexander van Gessel
4a37c1ac3c Ignore progress reports from git-pull,
...which shouldn't be coming anyway as we're not a terminal
2012-09-10 00:42:21 +01:00
Alexander van Gessel
e1d6f9735c Don't throw errors about normal fetch output to stderr 2012-09-10 00:26:17 +01:00
Alexander van Gessel
f18867bd99 Return the returncode alongside stdout and stderr in _execute 2012-09-10 00:26:14 +01:00
Alexander van Gessel
635199be7e Try not to crash during cleanup 2012-09-09 16:10:50 +01:00
Alexander van Gessel
f44354a645 Recognize 'trunk' as a wesnoth version rather than a port number 2012-09-09 16:10:46 +01:00
Alexander van Gessel
92521cd5dd Standardise wescamp.py commit messages 2012-09-09 00:34:09 +01:00
Alexander van Gessel
97089cd90e Add CIA commit hook to created repositories 2012-09-04 00:22:51 +01:00
Alexander van Gessel
df25f431a0 Use AddonError.message 2012-09-04 00:22:47 +01:00
Alexander van Gessel
7f94dd2469 Factor out two parts of upload() into init_build_system() and pot_update() 2012-09-04 00:22:45 +01:00
Alexander van Gessel
7653234415 Attach addon name to libgithub errors,
...to make what the user sees a bit more consistent
2012-09-04 00:22:43 +01:00
Nils Kneuper
836db5e395 switched the addon server port to 15006,
...the server is not running on this port yet @timotei: also changed
the umc plugin to this port by default, please check my java changes

@soliton: please setup an addon server for trunk on this port
2012-08-25 07:02:48 +00:00
Elias Pschernig
b0e4f12b57 [[wmlunits fix]]
- Fixed a bug in wmlunits where the era tree omitted units whose
  parent units belonged to a different faction.

- Made wmlunits provide feedback about required parameters.
2012-08-23 18:11:50 +00:00
Anonymissimus
fb69ed0523 fix wmllint complaining about unknown [time_area]id= 2012-08-19 22:42:19 +00:00
Anonymissimus
890b6d0b3b possibly half-baked fix for wmllint complaining...
...about unknown [event]id=something
2012-08-19 22:42:11 +00:00
Anonymissimus
b7ccb8091b fix # wmllint: deathcheck off directive being ignored in some cases 2012-08-19 22:42:02 +00:00
Alexander van Gessel
a1e5070ab6 Don't strip underscores from keys when trying to remove a translation mark 2012-08-19 21:13:03 +01:00
Alexander van Gessel
a150d38f24 Finish a word 2012-08-19 21:13:01 +01:00
Alexander van Gessel
c7dcd74745 Convert some old-style raises to the new style 2012-08-12 05:47:33 +01:00
Alexander van Gessel
908000990c Decapitalize pot-update commit message 2012-08-12 05:35:23 +01:00
Alexander van Gessel
2647063a0b Simplify an expression and remove a TODO 2012-08-12 05:06:37 +01:00
Alexander van Gessel
00b4f4053b Remove some unused variables 2012-08-12 04:55:23 +01:00
Alexander van Gessel
362919e9d8 Add error checking to the git-push call 2012-08-12 04:55:21 +01:00
Alexander van Gessel
d7944899e7 Do some error checking on pulls 2012-08-12 04:55:19 +01:00
Alexander van Gessel
0a56d15281 Simplify a test 2012-08-12 04:55:16 +01:00
Alexander van Gessel
cad59868db Log init-build-sys errors now that msgmerge has been redirected 2012-08-12 04:55:14 +01:00
Alexander van Gessel
b278867dcc Add automatic pot-update after an update from the add-on server 2012-08-12 04:55:11 +01:00
Alexander van Gessel
7b89972f5f Remove not implemented erase function 2012-08-11 00:42:13 +01:00
Alexander van Gessel
f1352ada0b Remove download and erase options from wescamp.py.
They are either broken or not implemented, and the download
functionality will be provided elsewhere
2012-08-11 00:42:10 +01:00