feat(compute01/search): init search.infra #199
No reviewers
Labels
No labels
awaiting
awaiting-author
awaiting
awaiting-reviewer
bot
deployed
Silenced alert
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: DGNum/infrastructure#199
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "search-infra"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -117,0 +137,4 @@"machines/nixos/compute01/search/static-data/images/favicon.ico""machines/nixos/compute01/search/static-data/images/favicon.png"];license = "Reserved"; # FIXME: doesn't exist@thubrecht si tu sait ce qu'on peut mettre ici, on pourra merge
@ -0,0 +1,75 @@# SPDX-FileCopyrightText: 2024 Lubin Bailly <lubin.bailly@dgnum.eu>Pareil dans
/modules(cf ci-dessous)@ -0,0 +1,192 @@# SPDX-FileCopyrightText: 2024 Lubin Bailly <lubin.bailly@dgnum.eu>On veut pas mettre ce module dans
/modules/nixos?on peut si on veut, je sais pas trop comment on décide de si on le fait ou pas...
je remarque qu'on ne le fait pas pour :
ptet que à terme se serai pas mal de tout bouger
Nitpick: tu peux renommer
search/default.nixensearch.nixéventuellement et refaire un peu ton historique si tu veux mais pour moi on est bon9e9c2a4fcftoa6b9a4488aje suis moyen chaud, le dossier search contient aussi des fichier statique qui sont relatif à ça uniquement
Ah oui désolé. Oublie ducoup
@ -0,0 +1 @@All rights reserved, unless other license granted.Juste all rights reserved
@ -0,0 +21,4 @@enable = true;modules = {"netconf" = {paths = [mkImports = root: builtins.map (mkImport root);lib.extra.mkImports est mieux
@ -0,0 +28,4 @@];path-translations = [{base = "${hive-root}";Pas besoin d'interpoler, hive-root suffit
c'est nécessaire si les imports sont interpolé
@ -0,0 +33,4 @@}];};"infra DGNum" =DGNum Infrastructure
@ -0,0 +9,4 @@...}:letinherit (lib)Ce serait bien de trier la liste
@ -0,0 +55,4 @@translations = map ({ base, url }:{url = "${url}${if hasSuffix "/" url then "" else "/"}";optionalString
@ -0,0 +73,4 @@++ [(throw ("${fullPath} is not in any base path of ${module-name}. Base paths are "+ concatStringsSep "\n" (map ({ base, ... }: base) translations)concatMapStringsSep
@ -0,0 +182,4 @@};};intypes.attrsOf (types.submodule module-mod);Si module-mod est utilisé juste ici, ça sert pas à grand chose de le définir dans un let, et il vaut mieux l'inline. Pareil pour path-mod
j'ai l'habitude de le faire pour que se soit un peu plus lisible, mais osef ig
a6b9a4488ato2fbb98de4bNew commits pushed, approval review dismissed automatically according to repository settings
2fbb98de4bto7ac02ac5afNew commits pushed, approval review dismissed automatically according to repository settings
0bfaf50b8ato30daeb5edclbailly referenced this pull request2025-06-13 11:56:04 +02:00