0
Commit Graph

2365 Commits

Author SHA1 Message Date
Nicolas F
b393489ea9 docs: remove CentOS 5 build instructions
It's EOL in a few days and the instructions only add confusion.
Anyone still using CentOS 5 has bigger issues than not having
documentation on how to build Minecraft-Overviewer.
2017-03-17 17:09:35 +01:00
Andrew Chin
275f619b72 Re-enable render CI job in master branch 2017-03-17 11:58:39 -04:00
Andrew Chin
6f64b198f6 Build and test rpm and deb repos during CI
Note that at the moment, this is building and testing a "test" repo.
This test repo is not the same one that you use by following our docs.
Once this new code is better tested, we'll switch over (existing users
will not have to do anything to use this new repo).
2017-03-17 11:58:39 -04:00
Nicolas F
99b223fb5a Merge pull request #1356 from overviewer/python2
Replace `python` with `python2`
2017-03-17 16:54:25 +01:00
Nicolas F
cd0eb2d5c4 genpoi: query fs caps before using FileReplacer
Probably fixes #1271
2017-03-17 14:57:22 +01:00
Nicolas F
94d6772266 rcon: code style fixes 2017-03-16 18:25:55 +01:00
Nicolas F
3551518bbd logger: reduce pillow verbosity
With newer pillow versions, pillow would create debug log lines for
every single PNG images it touches, so that spams the log in
Overviewer's verbose mode quite a bit.
2017-03-16 17:03:06 +01:00
Nicolas F
fa1e444890 docs: fix oxipng formatting 2017-03-16 16:44:23 +01:00
Nicolas F
d2976625b3 world: remove redundant hashing
This is probably a leftover from the memcached thing. There is no
need to hash a key to be used for hashmap access, as the hashmap
itself hashes it already, and probably with a hash more appropriate
for the situation.
2017-03-16 16:26:10 +01:00
Nicolas F
b75755a746 travis: stop testing for 2.6
Broken garbage
2017-03-16 15:53:40 +01:00
Nicolas F
4770af93f7 optimizeimages: add oxipng support 2017-03-16 15:50:02 +01:00
Nicolas F
5c44084332 optimizeimages: code style fixes
Now PEP8 compliant!
2017-03-16 14:58:41 +01:00
Nicolas F
f1909e9684 Remove memcached support
Apparently we had memcached support. It was never worth it, and put
a weird md5 hash calculation in the path of regular caching. Seeing
as it was completely undocumented, I doubt anyone has ever used it.
2017-03-16 14:45:19 +01:00
Andrew Chin
b7995efe42 Be more consistant in build artifact naming
Instead of having a directory of files for dist-win32 and dist-win64,
create a zipfile named like overviewer-win64-0.12.345.zip
2017-03-12 13:55:07 -04:00
Nicolas F
d76a22e020 Fix deprecated NumPy API warnings 2017-03-09 17:28:18 +01:00
Andrew Chin
2add96132c Do an apt-get update during debian verification 2017-02-12 13:10:21 -05:00
Andrew Chin
c5659f809e More work on gitlab CI
* Switch to docker tags
* Use caching to pass build stuff between build and test/render jobs
* Move render job up into the test stage
2017-02-12 12:48:13 -05:00
Andrew Chin
6f237179e4 Allow debug import 2017-02-12 12:47:47 -05:00
Andrew Chin
884f8548e7 Work on windows build with gitlab CI 2017-02-12 12:47:47 -05:00
Andrew Chin
4259c5eacd Apply same only/except tags to remove_render 2016-12-25 00:06:21 -05:00
Andrew Chin
d71f67c67e Improved gitlab CI which will remove renders when a branch is deleted
A byproduct of this change is that no render will be done for the master
branch.  That will be changed later
2016-12-24 23:56:39 -05:00
Andrew Chin
faa8d8f75c Replace python with python2
A continuation of c7d86eca76
2016-12-24 14:43:52 -05:00
Andrew Chin
5fecdf7477 Some minor changes based on github comment feedback 2016-12-24 14:37:47 -05:00
Andrew Chin
0801791cab Merge PR #1343 2016-12-24 14:33:24 -05:00
Andrew Chin
de67ed1bd3 Be sure to exit with a non-zero code on build error
Previously, the return code was zero
2016-12-24 13:57:27 -05:00
Thomas Lake
1803178bc8 Need to catch CorruptNBTError in both paths 2016-12-20 12:23:41 +00:00
Andrew Chin
095b87b667 Added some explanatory text about corrupt worlds 2016-12-19 11:08:35 -05:00
Andrew Chin
3938d1889c Better error handling of errors when a world fails to open.
A common case is a corrupt (or empty) level.dat file.  This condition
wasn't properly caught, yielding a less-than-useful stack trace.  Even
more concerning is that this could happen when a user is just running
"overviewer.py" to get a world listing.

This has been fixed to improve the user experience
2016-12-19 10:50:01 -05:00
Andrew Chin
b81661dc94 Enable gitlab CI
Even though the overviewer repo is hosted on github, this new CI stuff
is useful for mirrors of overviewer hosted on gitlab.

To support package builds for a few distributions, a set of dockerfiles
have been created.
2016-12-10 14:35:24 -05:00
Nicolas F
6ea2758c31 optimizeimages: support pngnq-s9
pngnq-s9 is essentially just a more recently dead version of pngnq,
however, due to not being able to specify multiple binary names in
the past, we've not supported it. Refactor the code to allow specifying
multiple binary names, and add pngnq-s9 to it.
2016-12-06 16:11:45 +01:00
Nicolas F
c49990f18b genPOI: expose uuid value for filter functions
Fixes #1345.
2016-12-06 15:28:53 +01:00
Nicolas F
54b93754c7 genPOI/docs: Handle new sign id values
Minecraft now uses minecraft:sign as its id for signs, but also uses
Sign for older versions or chunks that have not yet been updated.

Change the genPOI sign wrangling code and the documentation to reflect
this change.

Fixes #1340.
2016-12-06 15:17:39 +01:00
Nicolas F
c7d86eca76 Change shebang to python2 instead of python 2016-12-06 15:01:20 +01:00
Nicolas F
79343bcfba Merge branch 'Rycieos-1.11-blocks' 2016-12-06 14:52:11 +01:00
Mark Vander Stel
d92f00d97d Update strings and items to 1.11
Update all strings and vars to 1.11.
Add new items and blocks to items.py.
2016-11-29 09:13:42 -05:00
Mark Vander Stel
23c00eaf1f Add new 1.11 blocks
Add observer, with 4 textures and 6 orientations.
Add shulker box, with 16 block IDs, an entity texture, and 6
orientations.
2016-11-29 09:13:35 -05:00
Andrew Chin
67b6c4fd65 Updating linux build docs
Include some small text that clarifies how to run overviewer after a `build` step
2016-11-22 11:24:22 -05:00
Nicolas F
7a0930af63 Merge pull request #1319 from manuelgu/patch-1
Update text for 1.10
2016-08-09 15:25:39 +02:00
manuelgu
5862b34e9e Update text for 1.10 2016-08-09 11:59:58 +02:00
Nicolas F
a0c23c4a9a Update CONTRIBUTORS.rst information 2016-07-19 23:05:37 +02:00
Nicolas F
a4b6651072 Update docs version and copyright year 2016-06-30 09:09:58 +02:00
Nicolas F
917e38fd53 Make command line option docs more complete
Mainly, the genPOI options were finally documented.
2016-06-30 09:07:13 +02:00
Nicolas F
4287fc5f0b Add -q alias for --quiet to genPOI
This brings it in line with the syntax of the main overviewer.py
script.
2016-06-30 09:04:49 +02:00
Nicolas F
0d7731b125 Update client jar version in documentation 2016-06-30 07:57:15 +02:00
Aaron Griffith
1a41d8d195 bump overviewer.h version, textures.py version 2016-06-11 16:38:19 -04:00
Aaron Griffith
24e9f9e6e8 Merge remote-tracking branch 'dbergl/1.10-blocks' 2016-06-10 20:44:37 -04:00
Aaron Griffith
7bbc3bd4d4 Merge branch 'patch-3' of git://github.com/tazorax/Minecraft-Overviewer 2016-06-10 20:43:14 -04:00
Aaron Griffith
125c87b195 Merge remote-tracking branch 'Socolin/patch-3' 2016-06-10 20:37:30 -04:00
Aaron Griffith
c76d813c13 Merge remote-tracking branch 'Socolin/patch-1' 2016-06-10 20:33:30 -04:00
Aaron Griffith
11c10972e2 Merge remote-tracking branch 'kevinwchang/filter-id' 2016-06-10 20:31:28 -04:00