3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

105 commits

Author SHA1 Message Date
nicoo 5e06828dff factorio: Fix bug in update.py
Prior to this change, `update.py` fails with `KeyError: 'alpha'` when upstream
does not have a version in the `experimental` channel:

	./update.py --username XXXXXXXX --token "$(wl-paste)"
	Traceback (most recent call last):
	  File "./update.py", line 180, in <module>
	    app.run(main)
	  File "/nix/store/854z51wg8fj1s6ghxasp1xxx8khb3r8v-python3-3.8.9-env/lib/python3.8/site-packages/absl/app.py", line 303, in run
	    _run_main(main, args)
	  File "/nix/store/854z51wg8fj1s6ghxasp1xxx8khb3r8v-python3-3.8.9-env/lib/python3.8/site-packages/absl/app.py", line 251, in _run_main
	    sys.exit(main(argv))
	  File "./update.py", line 162, in main
	    new_our_versions = generate_our_versions(factorio_versions)
	  File "./update.py", line 92, in generate_our_versions
	    version = factorio_versions[release_channel.name][release_type.name]
	KeyError: 'alpha'

I chose to make it so that the versions in nixpkgs' `factorio-*` packages are
either experimental (when available) or stable, as this seems like the most
coherent approach
2021-06-19 21:15:44 +02:00
AndersonTorres e9e5f5f84d Change all alsaLib references to alsa-lib 2021-06-10 01:12:49 -03:00
Luke Granger-Brown 7876162722 factorio-demo: 1.1.32 -> 1.1.34 2021-06-02 18:32:28 +00:00
Luke Granger-Brown 266fa7f015 factorio-experimental: 1.1.33 -> 1.1.34 2021-06-02 18:31:23 +00:00
Luke Granger-Brown e5173c8481 factorio: 1.1.32 -> 1.1.34 2021-06-02 18:30:25 +00:00
Luke Granger-Brown 725468af89 factorio-experimental: 1.1.32 -> 1.1.33 2021-05-04 01:05:21 +00:00
Luke Granger-Brown 6a1a3eca9b factorio-demo: 1.1.30 -> 1.1.32 2021-04-17 21:48:09 +00:00
Luke Granger-Brown 9db7133769 factorio: 1.1.30 -> 1.1.32 2021-04-17 21:47:13 +00:00
Luke Granger-Brown ca8374e022 factorio-experimental: 1.1.31 -> 1.1.32 2021-04-14 09:31:26 +00:00
Luke Granger-Brown c61868662e factorio-experimental: 1.1.30 -> 1.1.31 2021-04-13 09:31:24 +00:00
Jonathan Ringer f94168c983 factorio: 1.1.27 -> 1.1.30 2021-03-27 15:36:01 -07:00
Jonathan Ringer fcdb8bfaf1 factorio: 1.1.26 -> 1.1.27 2021-03-12 10:34:18 -08:00
Philipp Riegger 8ace8ee071 factorio: stable 1.1.25 -> 1.1.26, experimental 1.1.26 -> 1.1.27 2021-03-12 15:54:23 +01:00
Luke Granger-Brown 395ade245c factorio-headless-experimental, factorio-experimental: 1.1.25 -> 1.1.26 2021-03-02 02:03:30 +00:00
github-actions[bot] 4c0670dace
Merge staging-next into staging 2021-02-20 06:17:59 +00:00
Jarrod Pas 2a424cd02d factorio: 1.1.21 -> 1.1.25 2021-02-19 15:09:07 -06:00
Ben Siraphob e03c068af5 treewide: makeWrapper buildInputs to nativeBuildInputs 2021-02-19 20:09:16 +07:00
Jarrod Pas 347c7fb266 factorio: change help message to output "$HOME"
Since $HOME was not escaped the user was shown a path inside /homeless-shelter
which could be confusing for inexperienced users.
2021-02-08 18:37:24 -06:00
Jarrod Pas 21bce9b36b factorio: 1.1.19 -> 1.1.21 2021-02-08 17:57:08 -06:00
Jarrod Pas a5fa85129b factorio, factorio-demo, factorio-headless: 1.0.0 -> 1.1.19 2021-01-26 20:49:28 -06:00
Jarrod Pas 27de17f45a factorio-experimental, factorio-demo-experimental, factorio-headless-experimental: 1.1.16 -> 1.1.19 2021-01-26 20:48:56 -06:00
Philipp Riegger 51bc6bdf8c factorio-headless-experimental, factorio-experimental: 1.1.12 -> 1.1.16 2021-01-25 19:05:30 +01:00
Pavol Rusnak a6ce00c50c
treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
Philipp Riegger b87f18e92c factorio-headless-experimental, factorio-experimental: 1.1.10 -> 1.1.12 2021-01-16 17:02:28 +01:00
Ben Siraphob 2e34288f0d pkgs/games: stdenv.lib -> lib 2021-01-15 13:36:04 +07:00
Luke Granger-Brown 9dda7b9ac3 factorio-headless-experimental, factorio-experimental: 1.1.8 -> 1.1.10 2021-01-14 14:38:18 +00:00
Luke Granger-Brown cf58429db8 factorio-experimental, factorio-headless-experimental: 1.1.7 -> 1.1.8 2021-01-08 00:16:41 +00:00
Luke Granger-Brown 77f45ee01f factorio-experimental, factorio-headless-experimental: 1.1.5 -> 1.1.7 2021-01-07 10:23:04 +00:00
Luke Granger-Brown ff9d4cc09b factorio-experimental, factorio-headless-experimental: 1.1.4 -> 1.1.5 2020-12-04 19:38:40 +00:00
Luke Granger-Brown 41742f1139 factorio-experimental, factorio-headless-experimental: 1.1.3 → 1.1.4 2020-12-03 16:55:33 +00:00
Luke Granger-Brown f838208033 factorio-experimental, factorio-headless-experimental: 1.1.2 -> 1.1.3 2020-11-30 20:27:23 +01:00
Luke Granger-Brown 8a63eaab52 factorio: add lukegb as maintainer 2020-11-30 18:07:19 +00:00
Luke Granger-Brown 2c8f7755d4 factorio: add an updateScript
The updateScript knows how to automatically fetch and update the version
data from the Factorio versions API (and update the hashes
appropriately), which makes it easier to update whenever experimental
does.
2020-11-30 18:07:16 +00:00
nyanotech c3f2f8ff1c
factorio-experimental, factorio-headless-experimental: 1.1.1 -> 1.1.2 2020-11-28 14:28:47 +00:00
Luke Granger-Brown 6421a1b0ce factorio-experimental, factorio-headless-experimental: 1.1.0 -> 1.1.1 2020-11-25 14:45:57 +01:00
Pavol Rusnak 2b884eb9f6
Merge pull request #104732 from lukegb/factorio-fail-if-no-creds
factorio: fail fetch early if no credentials provided
2020-11-24 23:33:55 +01:00
Luke Granger-Brown 0508481dc9 factorio-experimental, factorio-headless-experimental: 1.0.0 -> 1.1.0 2020-11-24 04:05:30 +01:00
Luke Granger-Brown 86aa2a57d3 factorio: fail fetch early if no credentials provided
The download URL will redirect to the login page if credentials are not
present, but will return an error if the credentials are wrong.

Since we know we always expect credentials, we can fail the fetch in
the preHook if they're not provided.

We can't use e.g. builtins.throw because we want the fetchurl derivation
to be evaluated in all cases - because that's the mechanism which allows
you to just manually add the tarball to the Nix store.
2020-11-24 01:32:53 +00:00
Philipp Riegger 162864341d factorio: update all x86_64 versions to 1.0.0 2020-08-17 18:48:57 -07:00
Martin Weinelt 096a73fd32 factorio: fix headless build 2020-08-14 10:22:29 -07:00
Martin Weinelt 6dbeed2d1d
factorio: add .desktop file 2020-08-07 01:05:30 +02:00
Philipp Riegger 1814bebd82 factorio{,-headless}-experimental: 0.18.34 -> 0.18.36 2020-07-20 11:46:23 +02:00
Philipp Riegger c596617e40 factorio*: add priegger to maintainers 2020-06-29 15:52:54 +02:00
Philipp Riegger c36b573fab factorio{,-headless}-experimental: 0.18.32 -> 0.18.34 2020-06-29 15:39:41 +02:00
Philipp Riegger 3d6107d423 factorio{,-headless}-experimental: 0.18.30 -> 0.18.32 2020-06-17 10:39:41 +02:00
Nick Hu a505e9d7f4
Merge pull request #89440 from priegger/fix/factorio-mkModDirDrv
factorio-utils: fix recursive mod dependency resolution
2020-06-09 13:16:33 +01:00
Philipp Riegger bff1b77402 factorio{,-headless}-experimental: 0.18.29 -> 0.18.30 2020-06-04 09:28:34 +02:00
Philipp Riegger 9eb7b9af36 factorio-utils: fix recursive mod dependency resolution 2020-06-04 08:27:13 +02:00
Philipp Riegger 0de586eb01 factorio{,-headless}-experimental: 0.18.26 -> 0.18.29 2020-06-03 14:08:06 +02:00
Justin Humm cdd519c489
factorio-{,headless}-experimental: 17.79 -> 18.26
also added myself as maintainer
2020-05-24 22:05:45 +02:00