Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 4.0.0 candidate #159

Merged
merged 134 commits into from
Aug 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
134 commits
Select commit Hold shift + click to select a range
896b9b2
Working on v4 rewrite with task/watcher based architecture...
mindstorm38 May 9, 2023
25eacf7
Almost finished rewriting the metadata task
mindstorm38 May 11, 2023
f39cd5c
Working on v4 rewrite...
mindstorm38 May 21, 2023
f771d8c
Standard installation works, with fixed parallel downloader! #146
mindstorm38 May 27, 2023
ab0e4da
Standard installation is working, and started working on new CLI
mindstorm38 May 29, 2023
912eedb
Working on new CLI and run task.
mindstorm38 Jun 1, 2023
ca54b70
Working on CLI. It's complex to came with a better design like what w…
mindstorm38 Jun 4, 2023
84b50c0
Working on CLI (search command in manifest is working)
mindstorm38 Jun 10, 2023
7ce1889
Working on start subcommand
mindstorm38 Jun 11, 2023
fcdc1b9
Working on CLI output for start subcommand
mindstorm38 Jun 17, 2023
ddc3a2f
Working on CLI
mindstorm38 Jun 18, 2023
62fcb2f
Working on CLI and improving watcher.
mindstorm38 Jun 24, 2023
d9bb3c4
Added jvm task and included it to the CLI.
mindstorm38 Jun 25, 2023
f7b313a
Huge improvement in startup task.
mindstorm38 Jun 27, 2023
5016558
Added back OS, socket and SSL errors logging
mindstorm38 Jun 27, 2023
a649770
Working on HTTP sessions (maybe pointless)
mindstorm38 Jun 30, 2023
6f5b58a
Improved HTTP session, now using it for VersionManifest and all kind …
mindstorm38 Jul 1, 2023
c50391f
Working on run arguments computation.
mindstorm38 Jul 1, 2023
8060f3e
Added task to finalize assets when virtual or resources directories a…
mindstorm38 Jul 1, 2023
0ceb35a
HTTP requests are taking much more time than they do on the browser. …
mindstorm38 Jul 1, 2023
83e38b2
Added back login/login and show subcommands. Also improved a lot tabl…
mindstorm38 Jul 2, 2023
91bda94
Some typo and JVM task is now optionally running
mindstorm38 Jul 2, 2023
00bc0a2
Typo
mindstorm38 Jul 2, 2023
3a893dc
Updated misc CLI tests
mindstorm38 Jul 2, 2023
a862616
Improved download interface to provide a DownloadList that can work w…
mindstorm38 Jul 2, 2023
5326235
Working on tests.
mindstorm38 Jul 2, 2023
187c1cc
Obvious fixes and added colored output for know task states.
mindstorm38 Jul 6, 2023
803a933
Working on a way to integrate fabric add-on.
mindstorm38 Jul 7, 2023
cf0d12b
Trying to make a good API for fabric task
mindstorm38 Jul 9, 2023
bc0b966
Various fixes and fabric extension, supported in CLI
mindstorm38 Jul 13, 2023
03dfe22
Done with fabric support, many typo and langages, and also improved h…
mindstorm38 Jul 14, 2023
30121d8
Typo for fabric resolving task
mindstorm38 Jul 14, 2023
697f622
Better error when invalid version kind is used.
mindstorm38 Jul 14, 2023
3507716
LWJGL fix implemented #146
mindstorm38 Jul 14, 2023
bf1c2c8
Reorganized LWJGL in its own module since it's not vanilla. Also tryi…
mindstorm38 Jul 14, 2023
5c3e851
Args include-bin and exclude-lib now correctly used by CLI.
mindstorm38 Jul 14, 2023
e66e9eb
Start implementing RunTask, and working on including the console add-…
mindstorm38 Jul 14, 2023
1d2bd44
RunTask should be ready now.
mindstorm38 Jul 14, 2023
0619220
Typo
mindstorm38 Jul 14, 2023
a35f31c
Added verbose argument add start supporting it in start subcommand
mindstorm38 Jul 14, 2023
af41853
Increased minimum python to 3.7, this is hard decision but the 3.6 ve…
mindstorm38 Jul 15, 2023
fcb84cf
Start rewriting the API documentation.
mindstorm38 Jul 15, 2023
c82bccb
Improved vanilla API and doc
mindstorm38 Jul 15, 2023
dca0692
Working on Forge launching, many changes:
mindstorm38 Jul 15, 2023
1bcfb82
Fixed forge run ! Doing so forced me to reverse a change with JAR fil…
mindstorm38 Jul 15, 2023
5d2e387
Added all shortcut versions of make_sequence for all mod loaders
mindstorm38 Jul 16, 2023
430d225
Improved download printing, padding adapted to total count
mindstorm38 Jul 16, 2023
187d7e7
Now sorting entries prior to downloading to download big files first
mindstorm38 Jul 16, 2023
22c5807
improved forge task names
mindstorm38 Jul 16, 2023
92e6779
Short forge version now resolved using promo versions
mindstorm38 Jul 16, 2023
c125d86
Some typo and fixed forge for 1.16.5 and before
mindstorm38 Jul 16, 2023
d00fbda
Note for later
mindstorm38 Jul 16, 2023
a7d56a2
Improved parallel download by limiting number of threads depending on…
mindstorm38 Jul 16, 2023
d8530a4
Added forge version resolving events
mindstorm38 Jul 16, 2023
1980e3f
Now only triggered forge/fabric resolving events when necessary
mindstorm38 Jul 16, 2023
5a721e4
Reverted changes done to JAR, now required again, now fixing legacy f…
mindstorm38 Jul 16, 2023
5187ecb
Removed forge url debug and updated lang to specify supported forge v…
mindstorm38 Jul 16, 2023
31c0db4
Added search kinds "forge" and "forge-all" to search for forge versio…
mindstorm38 Jul 16, 2023
655a078
Temporarily fixed class path order of the main class, to fix later
mindstorm38 Jul 16, 2023
03831b6
Improved arguments fixing
mindstorm38 Jul 17, 2023
d5869a3
More verbose output for debugging tasks order.
mindstorm38 Jul 17, 2023
b532a56
Renamed Watcher.on_event by handle, more simple since errors no longe…
mindstorm38 Jul 18, 2023
44954ec
CLI now handling forge installer errors
mindstorm38 Jul 18, 2023
9fbc4e1
Typo
mindstorm38 Jul 18, 2023
87cf55f
Improved forwarding of version output (old versions, no support for X…
mindstorm38 Jul 18, 2023
1775b49
Working on game's running and output parsing?
mindstorm38 Jul 21, 2023
5376c0a
RunTask is now more basic, also defined a subclass StreamRunTask, whi…
mindstorm38 Jul 22, 2023
97bba68
Removed forge-all search kind
mindstorm38 Jul 22, 2023
07a03a3
Added fabric and quilt search kinds.
mindstorm38 Jul 22, 2023
3b8c9ad
Removed .old scripts
mindstorm38 Jul 22, 2023
ffbeab6
Typo
mindstorm38 Jul 22, 2023
a0248c5
Improved logging by just showing time and no longer the logger class
mindstorm38 Jul 22, 2023
00de503
Repository reorganization removing all official add-ons and moving th…
mindstorm38 Jul 22, 2023
dd98bff
Added poetry test dependency
mindstorm38 Jul 22, 2023
cfb350a
Reworked all tests, that required using a more generic default versio…
mindstorm38 Jul 22, 2023
ae92ea9
Updating README
mindstorm38 Jul 23, 2023
d8dcf79
Added builtin JVM fallback.
mindstorm38 Jul 23, 2023
fe034e2
Fixed CLI for builtin java resolving
mindstorm38 Jul 23, 2023
85da86e
Typo and renamed type related to Jvm resolution.
mindstorm38 Jul 23, 2023
5d326d5
Improved classes to impl hash/eq
mindstorm38 Jul 23, 2023
02855c1
Added a way to fix versions of some libraries, it's a bit early to kn…
mindstorm38 Jul 23, 2023
8b49fed
Working on better support for quick play
mindstorm38 Jul 24, 2023
b291791
Trying a simpler design without sequence and tasks but rather a singl…
mindstorm38 Jul 24, 2023
78ba767
Retrying the single class architecture for version installation...
mindstorm38 Jul 27, 2023
0f23cea
Fabric and forge moved to the new version architecture.
mindstorm38 Jul 27, 2023
734adee
Game launching working again! Upgraded all code to support the newer …
mindstorm38 Jul 28, 2023
4191d30
Removed done TODO
mindstorm38 Jul 28, 2023
a1a2f15
Removed old vanilla.py
mindstorm38 Jul 28, 2023
fd72ece
Fixed tests and successful slow 100%
mindstorm38 Jul 29, 2023
f8a507a
Improve machine output escape
mindstorm38 Jul 29, 2023
e12f715
LWJGL supported as a standalone fix available, fixes can now have a p…
mindstorm38 Jul 29, 2023
c68224e
Removed useless comments
mindstorm38 Jul 29, 2023
ad701f4
Removed human coloration for exception stack traces.
mindstorm38 Jul 29, 2023
70c8e52
Improved API documentation, added verbose logging of features and als…
mindstorm38 Jul 29, 2023
a62e4eb
Added log for lib not found error
mindstorm38 Jul 29, 2023
9229448
Implemented again include bin and exclude lib
mindstorm38 Jul 29, 2023
fa010e7
Removed --no-better-logging
mindstorm38 Jul 29, 2023
e7f860d
Updated README and changed "manifest" search kind to "mojang".
mindstorm38 Jul 29, 2023
3941fb8
Improved download speed calculation, also added partial progress supp…
mindstorm38 Jul 29, 2023
a896239
Updated specification of timeout arg
mindstorm38 Jul 29, 2023
d7e1ede
Fixing syntax problem
mindstorm38 Jul 29, 2023
9a93274
Fixing unlink with missing_ok arg for python 3.7. Also added workflow…
mindstorm38 Jul 29, 2023
3d3663f
Working on rc2, fixed issue with JVM path on macOS
mindstorm38 Jul 29, 2023
b5d6b28
Added back support for --jvm-args #146
mindstorm38 Jul 29, 2023
f4f9024
Documented API's class Environment
mindstorm38 Jul 30, 2023
c32627b
More precise documentation for `jvm_args`
mindstorm38 Jul 30, 2023
ca4116d
Updating workflow to avoid executing on doc changes
mindstorm38 Jul 30, 2023
aeff74a
Added a test for poetry version, and increased minimum poetry version…
mindstorm38 Jul 30, 2023
27a6159
Removed add-on commands...
mindstorm38 Jul 30, 2023
e126f33
Added tests for fabric/quilt/forge and fixed few problems with partic…
mindstorm38 Jul 30, 2023
b93f0ae
Removed assets download for tests of version install (much quicker te…
mindstorm38 Jul 30, 2023
9672a16
Fixing old broken forge version metadata by using mojang's maven repo…
mindstorm38 Jul 30, 2023
a5cfb47
Wow! Fixed huge bug with OSX binary path... I was tired (#156)
mindstorm38 Jul 30, 2023
b7e09da
More descriptive DownloadError
mindstorm38 Jul 30, 2023
1fb1de7
No more indent in cached version manifest, it just take place for not…
mindstorm38 Jul 30, 2023
5746c7d
Improved process creation by using the UTF-8 encoding and replace err…
mindstorm38 Jul 30, 2023
ab766f4
Changed version to 4.0.0rc3, publishing soon
mindstorm38 Jul 30, 2023
53c2ce1
Trying showing errors in pytest...
mindstorm38 Jul 30, 2023
2f6fbfb
Better handling of download thread's crashes... The error is internal…
mindstorm38 Jul 30, 2023
2d4edf3
Added error origin in DownloadError tuples, this may improve debugging?
mindstorm38 Jul 30, 2023
89d840d
Minor spelling and phrasing fixes for README
TickingFeather Jul 30, 2023
867a45c
Add README examples for mod loader versions
TickingFeather Jul 30, 2023
de4b755
Improved downloading, now re-opening connection on any hard error (I …
mindstorm38 Jul 30, 2023
9d37fde
Fixed a small problem with machine output where special characters we…
mindstorm38 Jul 30, 2023
f343416
Added lot of example to start Minecraft
mindstorm38 Jul 30, 2023
ba53ed7
Improved how process is waited by StandardRunner and StreamRunner, im…
mindstorm38 Jul 30, 2023
0bb6044
Replaced default help message on CLI.
mindstorm38 Jul 31, 2023
271a8ac
Library class now public
mindstorm38 Aug 5, 2023
396141e
Improved all errors' __str__ and changes TooMuchParentsError to just …
mindstorm38 Aug 5, 2023
2d5bae7
Added test ensuring TooMuchParents and JarNotFound errors are raised …
mindstorm38 Aug 5, 2023
5271ed8
Added __str__ for ForgeInstallError
mindstorm38 Aug 5, 2023
cc9c654
Disabling color for CLI's output by default if not a TTY
mindstorm38 Aug 5, 2023
6604b76
Version 4.0.0
mindstorm38 Aug 5, 2023
8d78ada
Note of TTY-dependent output
mindstorm38 Aug 5, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
name: Test
on:
pull_request:
paths:
- 'src/**'
- 'test/**'
paths-ignore:
- 'doc/**'
- 'README.md'
- 'LICENSE'
jobs:
test:
strategy:
fail-fast: true
matrix:
os: [Ubuntu, macOS, Windows]
python-version: ['3.7', '3.8', '3.9', '3.10']
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
include:
- os: Ubuntu
image: ubuntu-22.04
Expand All @@ -37,16 +38,16 @@ jobs:
run: |
env\Scripts\Activate.ps1
pip install poetry toml pytest coverage pytest-github-actions-annotate-failures
python src/workspace.py install
coverage run -m pytest test/
poetry install
coverage run -m pytest -v test/

- name: Test on UNIX
if: matrix.os != 'Windows'
run: |
source env/bin/activate
pip install poetry toml pytest coverage pytest-github-actions-annotate-failures
python src/workspace.py install
coverage run -m pytest test/
poetry install
coverage run -m pytest -v test/

- name: Coverage & codecov
env:
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Ignore compiled python
__pycache__
/src/*/dist
/dist

# Do not keep tests and coverage results
.pytest_cache
Expand Down
417 changes: 232 additions & 185 deletions README.md

Large diffs are not rendered by default.

188 changes: 0 additions & 188 deletions doc/ADDON.md

This file was deleted.

Loading