Commit graph

330 commits

Author SHA1 Message Date
Martin Weinelt 7b2814c1d2
Promote NixOS 22.11 to stable (#576) 2022-12-01 12:43:02 +01:00
Martin Weinelt 853fd5c0c8
Add NixOS 22.11 by updating nixos-org-configurations (#573) 2022-11-23 12:39:19 +01:00
MatthewCroughan f249d4964e
Add filestash-nix to the flakes index (#547) 2022-11-09 00:43:57 +01:00
github-actions[bot] 68471fff69
flake.lock: Update (#565)
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/d40fea9aeb8840fea0d377baa4b38e39b9582458' (2022-10-31)
  → 'github:NixOS/nixpkgs/3bacde6273b09a21a8ccfba15586fb165078fb62' (2022-11-05)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rok Garbas <rok@garbas.si>
2022-11-07 13:22:45 +01:00
Skyler ec8846f2a9
Replace PolyMC with PrismLauncher in the index (#566) 2022-11-06 10:10:31 +01:00
Naïm Favier 9a20bad5e1
Make wildcard search case-insensitive (#559)
https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-wildcard-query.html#wildcard-query-field-params
2022-11-04 13:27:13 +01:00
Naïm Favier cf23c13a17
Make search query default to show if given (#561)
This allows for shorter permalinks for displaying a given package.
2022-11-04 13:22:52 +01:00
Naïm Favier 5bbe885b62
Do not restore from and size from the previous model (#562) 2022-11-04 12:06:19 +01:00
Rok Garbas 515d60601b
Fix netlify problem introduces in #532 (#557) 2022-11-03 23:44:19 +01:00
github-actions[bot] 84ce7fdf52
Update npm dependencies (also flake.lock: Update) (#532)
* flake.lock: Update

Flake lock file updates:

• Updated input 'flake-utils':
    'github:numtide/flake-utils/c0e246b9b83f637f4681389ecabcb2681b4f3af0' (2022-08-07)
  → 'github:numtide/flake-utils/6ee9ebb6b1ee695d2cacc4faa053a7b9baa76817' (2022-10-29)
• Updated input 'nixos-org-configurations':
    'github:NixOS/nixos-org-configurations/569797100aac69780a12542c2143bb741380d4ec' (2022-08-17)
  → 'github:NixOS/nixos-org-configurations/cebfd15c30724cadacf85b5fd950dc1070c4eb7d' (2022-10-26)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/f3d0897be466aa09a37f6bf59e62c360c3f9a6cc' (2022-08-25)
  → 'github:NixOS/nixpkgs/448a599c49978c2794401bfc3a2e1fba1a8663be' (2022-10-28)

* Switch from yarn to npm for frontend

also update all the npm dependencies

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rok Garbas <rok@garbas.si>
2022-11-03 22:26:58 +01:00
Rok Garbas 4bc2ea9d05
Switch to new cluster with elasticsearch 7.10 (#556) 2022-11-03 10:56:05 +01:00
dependabot[bot] 0303a81431
Dependabot(deps): Bump DeterminateSystems/update-flake-lock (#541)
Bumps [DeterminateSystems/update-flake-lock](https://github.com/DeterminateSystems/update-flake-lock) from 10 to 14.
- [Release notes](https://github.com/DeterminateSystems/update-flake-lock/releases)
- [Commits](https://github.com/DeterminateSystems/update-flake-lock/compare/v10...v14)

---
updated-dependencies:
- dependency-name: DeterminateSystems/update-flake-lock
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-02 15:22:37 +01:00
dependabot[bot] 22fc398e42
Dependabot(deps): Bump cachix/install-nix-action from 17 to 18 (#545)
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 17 to 18.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v17...v18)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-02 15:22:13 +01:00
Naïm Favier 474dbedd9b
Make wildcard search respect case (#538) 2022-11-02 15:21:49 +01:00
Naïm Favier 68f773854d
.github: fix action.yml escaping (#555) 2022-10-29 23:21:53 +02:00
Naïm Favier e3ade32b1a
.github: re-add access token (#553)
Co-authored-by: Yannik Sander <me@ysndr.de>
2022-10-29 22:58:44 +02:00
Naïm Favier ba0b05b998
Render Markdown in option docs for flakes and longDescription (#539) 2022-10-28 15:49:15 +02:00
Astro e7ceafb0d4
Add microvm.nix to the flakes index (#500)
Co-authored-by: Naïm Favier <n@monade.li>
2022-09-08 18:09:05 +02:00
Naïm Favier 4776108b4b
Allow modulesPath in NixOS modules (#536) 2022-09-08 16:29:53 +02:00
Naïm Favier 9e64e2f6c3
Ignore _module options for flakes (#528)
Having the documentation for `_module.args` in the nixpkgs options is useful,
but there's no need to have a copy of it per flake module.
2022-09-08 10:45:01 +02:00
Yannik Sander 7d1c1046ba
Allow elastic feature to be disabled (#529) 2022-08-30 10:13:08 +02:00
Naïm Favier b8518f6d48
flake-info: fix compilation warnings (#503)
Removes some dead code, including the unimplemented `--elastic-user`,
`--elastic-pw` and `--gc` flags. Builds and tests with no warnings.
2022-08-29 17:17:29 +02:00
MatthewCroughan a76f3f779c
Show nix-shell instructions first instead of NixOS Configuration (#526) 2022-08-29 13:23:49 +02:00
github-actions[bot] a52737a3cc
flake.lock: Update (#515)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-28 23:19:51 +02:00
Naïm Favier d94c60ca12
frontend: remove trailing whitespace in installation instructions (#522) 2022-08-25 18:33:15 +02:00
Philip Munksgaard 1aaf7dddee
Add geomyidae server flake to public flakes (#516) 2022-08-23 16:43:28 +02:00
Philip Munksgaard 9e5f095369
Add support for sourcehut links (#517)
* Add support for SourceHut flakes

* Update flake-info/README.md

Co-authored-by: Naïm Favier <n@monade.li>

Co-authored-by: Naïm Favier <n@monade.li>
2022-08-23 14:42:06 +02:00
Yvan Sraka 087925bbb2
Add haskell.nix (#518) 2022-08-18 13:00:31 +02:00
MatthewCroughan f504a9fdd7
encourage NixOS configuration, nix-shell and discourage nix-env (#514)
Co-authored-by: Naïm Favier <n@monade.li>
2022-08-11 15:35:57 +02:00
github-actions[bot] 02c3d7088c
flake.lock: Update (#498)
Flake lock file updates:

• Updated input 'nixos-org-configurations':
    'github:NixOS/nixos-org-configurations/a02a620f56cee88299d479f51676ca3f2a6c4a82' (2022-07-04)
  → 'github:NixOS/nixos-org-configurations/f467c27834fddeb1ffe156c54b637db240bc7273' (2022-07-29)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/0ea7a8f1b939d74e5df8af9a8f7342097cdf69eb' (2022-07-02)
  → 'github:NixOS/nixpkgs/93c57a988470c1948976b1bb70abbd5855c5b810' (2022-08-05)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-08 08:59:58 +02:00
Robert Hensing 1faac2eeb6
Remove Loading from title (#507)
It used to show up in discourse links, looking silly.

"Loading" didn't really add information. If it loads slowly or not
at all, the result will be quite obvious, and often the bit that
says "Loading" doesn't even fit in the browser tab label.
2022-08-02 22:09:34 +02:00
erikarvstedt 0453790a74
Flakes search: Include flake name (#499) 2022-07-28 15:11:00 +02:00
Naïm Camille Favier fd53fda132
flake-info: remove --read-only (#504) 2022-07-24 13:07:31 +02:00
Naïm Camille Favier c43ed8c85f
Disallow IFD in flakes (#502)
I think it is surprising that `flake-info` tries to build things in
order to index flakes. Hence, forbid IFD.

`--read-only` is for performance, see https://github.com/NixOS/nix/pull/6323
2022-07-21 12:27:21 +02:00
Naïm Camille Favier 18e5da679b
Don't panic during export (#501) 2022-07-21 12:20:52 +02:00
github-actions[bot] 79f6678b23
flake.lock: Update (#495)
Flake lock file updates:

• Updated input 'flake-utils':
    'github:numtide/flake-utils/bee6a7250dd1b01844a2de7e02e4df7d8a0a206c' (2022-06-24)
  → 'github:numtide/flake-utils/7e2a3b3dfd9af950a856d66b0a7d01e3c18aa249' (2022-07-04)
• Updated input 'nixos-org-configurations':
    'github:NixOS/nixos-org-configurations/a5e623b9729601da2b51368287bb623afd7b9ffc' (2022-06-23)
  → 'github:NixOS/nixos-org-configurations/a02a620f56cee88299d479f51676ca3f2a6c4a82' (2022-07-04)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/6141b8932a5cf376fe18fcd368cecd9ad946cb68' (2022-06-23)
  → 'github:NixOS/nixpkgs/0ea7a8f1b939d74e5df8af9a8f7342097cdf69eb' (2022-07-02)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-04 20:06:31 +02:00
Naïm Camille Favier 7e0226d427
frontend: select package name on click (#497)
Fixes https://github.com/NixOS/nixos-search/issues/496
2022-07-04 12:59:23 +02:00
dependabot[bot] 398253d3eb
Dependabot(deps): Bump DeterminateSystems/update-flake-lock from 9 to 10 (#494)
Bumps [DeterminateSystems/update-flake-lock](https://github.com/DeterminateSystems/update-flake-lock) from 9 to 10.
- [Release notes](https://github.com/DeterminateSystems/update-flake-lock/releases)
- [Commits](https://github.com/DeterminateSystems/update-flake-lock/compare/v9...v10)

---
updated-dependencies:
- dependency-name: DeterminateSystems/update-flake-lock
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-30 11:23:24 +02:00
github-actions[bot] b32155232e
flake.lock: Update (#491)
Flake lock file updates:

• Updated input 'flake-utils':
    'github:numtide/flake-utils/1ed9fb1935d260de5fe1c2f7ee0ebaae17ed2fa1' (2022-05-30)
  → 'github:numtide/flake-utils/bee6a7250dd1b01844a2de7e02e4df7d8a0a206c' (2022-06-24)
• Updated input 'nixos-org-configurations':
    'github:NixOS/nixos-org-configurations/8e8668be80e6d3b6f5f602770dca42e6c6f33d50' (2022-06-03)
  → 'github:NixOS/nixos-org-configurations/a5e623b9729601da2b51368287bb623afd7b9ffc' (2022-06-23)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/236cc2971ac72acd90f0ae3a797f9f83098b17ec' (2022-06-03)
  → 'github:NixOS/nixpkgs/6141b8932a5cf376fe18fcd368cecd9ad946cb68' (2022-06-23)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-30 11:22:53 +02:00
Naïm Camille Favier 74ed61a915
Display deprecated channels (#489) 2022-06-08 01:55:26 +02:00
Naïm Camille Favier 75e8457105
flake-info: Stop relying on user's NIX_PATH for flake extraction (#487) 2022-06-06 12:42:40 +02:00
github-actions[bot] 2935082bba
flake.lock: Update (#479)
Flake lock file updates:

• Updated input 'flake-utils':
    'github:numtide/flake-utils/a4b154ebbdc88c8498a5c7b01589addc9e9cb678' (2022-04-11)
  → 'github:numtide/flake-utils/1ed9fb1935d260de5fe1c2f7ee0ebaae17ed2fa1' (2022-05-30)
• Updated input 'nixos-org-configurations':
    'github:NixOS/nixos-org-configurations/34b9422847c5b67cbdbe26b89201b3354557f677' (2022-05-25)
  → 'github:NixOS/nixos-org-configurations/8e8668be80e6d3b6f5f602770dca42e6c6f33d50' (2022-06-03)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/c777cdf5c564015d5f63b09cc93bef4178b19b01' (2022-05-05)
  → 'github:NixOS/nixpkgs/236cc2971ac72acd90f0ae3a797f9f83098b17ec' (2022-06-03)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-05 21:23:46 +02:00
Janne Heß 1bf3ce7c98
Add the 22.05 channel by updating the flake (#484) 2022-05-28 13:47:42 +02:00
Naïm Camille Favier d0ea61ad4e
Rely on upstream for extracting nixpkgs options (#460)
* flake-info: rely on upstream for extracting nixpkgs options

Use the `options.json` generated in nixpkgs to be more in sync with the
manual.

Also fixes usage of `nixpkgs-archive` with local paths.

* Bump VERSION
2022-05-19 12:57:42 +02:00
dependabot[bot] 3b41f2dcfd
Dependabot(deps): Bump DeterminateSystems/update-flake-lock from 8 to 9 (#476)
Bumps [DeterminateSystems/update-flake-lock](https://github.com/DeterminateSystems/update-flake-lock) from 8 to 9.
- [Release notes](https://github.com/DeterminateSystems/update-flake-lock/releases)
- [Commits](https://github.com/DeterminateSystems/update-flake-lock/compare/v8...v9)

---
updated-dependencies:
- dependency-name: DeterminateSystems/update-flake-lock
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-11 21:03:24 +02:00
github-actions[bot] bd4ecb50c4
flake.lock: Update (#477)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-08 17:51:09 +02:00
Rok Garbas eea6cd3ffb
Feat/dynamic import (#473)
* Make the channel importer versions dynamic

* few things fromt he list

1. add nixos-org-configurations as input to flake.nix
2. evaluate channels.nix file and export channels via environment variable.
   that environment variable (lets call it NIXOS_CHANNELS) should be present
   during the build and inside the nix shell. the content of the variable can
   be JSON.
3. we pickup the NIXOS_CHANNELS environment variable in
   frontend/webpack.config.js and pass it further to webpack process, just
   like we do with ELASTICSEARCH_MAPPING_SCHEMA_VERSION.
4. we forward NIXOS_CHANNELS to Elm via frontend/src/index.js as an Elm
   application flag. Just like we do with other variables there.

* Decode nixosChannels in Elm

* Use nixosChannels that came via application flag

* read nixos channels in github action

* defaultNixOSChannel should be calculated

* add two pointers where the check should be added

* pass nixosChannels to flake-info and remove title, rather calculate it

* Add NixosChannels struct validation and validation Error

* Read NIXOS_CHANNEL variable

* Check channel

* Add channel struct to fix parsing NIXOS_CHANNELS

* Use `eachDefaultSystem` instead of listing them manually

* Add individual dev shells for frontend and backend

* Update .github/workflows/import-to-elasticsearch.yml

Co-authored-by: Naïm Favier <n@monade.li>

* use both development environments by default (as it was)

but still provide devShells for each of the subprojects

* pkgs.lib → lib everywhere

and define lib = nixpkgs.lib before the call to eachDefaultSystem
Also, version = lib.fileContents ./VERSION;

* Update flake.nix

Co-authored-by: Naïm Favier <n@monade.li>

* typo

* bumping version to test the changes to import-to-elasticsearch github action

* some invisibile characters needed to be removed

* typo

* will this work

* typo

* forgot the checkout step

* add some debugging

* typo

* read NIXOS_CHANNELS from environment not via argument

* fix for the NIXOS_CHANNELS variable

Co-authored-by: Janne Heß <janne@hess.ooo>
Co-authored-by: ysndr <me@ysndr.de>
Co-authored-by: Naïm Favier <n@monade.li>
2022-04-24 23:48:01 +02:00
github-actions[bot] 492794fad7
flake.lock: Update (#475)
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/75ad56bdc927f3a9f9e05e3c3614c4c1fcd99fcb' (2022-04-16)
  → 'github:NixOS/nixpkgs/bc41b01dd7a9fdffd32d9b03806798797532a5fe' (2022-04-23)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-24 23:28:48 +02:00
Naïm Favier f1003d2423
Make the Netlify bot quieter (#474) 2022-04-21 09:12:19 +02:00
Naïm Favier 0f82c57043
Use stable nix (#472)
Nix 2.8 was released so we don't need nixUnstable anymore.
2022-04-20 20:53:10 +02:00