Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
Gepetto Utils
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gepetto
Gepetto Utils
Commits
fb761c16
Commit
fb761c16
authored
8 months ago
by
Guilhem Saurel
Browse files
Options
Downloads
Patches
Plain Diff
treefmt
parent
521c3940
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
docker/manylinux2014/scripts/patch_whitelist.py
+1
-1
1 addition, 1 deletion
docker/manylinux2014/scripts/patch_whitelist.py
flake.lock
+69
-0
69 additions, 0 deletions
flake.lock
flake.nix
+33
-24
33 additions, 24 deletions
flake.nix
scripts/robotpkg-test-rc.py
+1
-0
1 addition, 0 deletions
scripts/robotpkg-test-rc.py
with
104 additions
and
25 deletions
docker/manylinux2014/scripts/patch_whitelist.py
+
1
−
1
View file @
fb761c16
#!/opt/_internal/tools/bin/python
"""
Patch auditwheel whitelist: allow reuse of shared objects from our other wheels,
Patch auditwheel whitelist: allow reuse of shared objects from our other wheels,
and generate a string for a RPATH update.
Folks at pypa won
'
t allow that in their codebase, as it
'
s ugly, but they don
'
t forbid us to do so:
...
...
This diff is collapsed.
Click to expand it.
flake.lock
0 → 100644
+
69
−
0
View file @
fb761c16
{
"nodes": {
"flake-parts": {
"inputs": {
"nixpkgs-lib": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1717285511,
"narHash": "sha256-iKzJcpdXih14qYVcZ9QC9XuZYnPc6T8YImb6dX166kw=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "2a55567fcf15b1b1c7ed712a2c6fadaec7412ea8",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "flake-parts",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1719254875,
"narHash": "sha256-ECni+IkwXjusHsm9Sexdtq8weAq/yUyt1TWIemXt3Ko=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "2893f56de08021cffd9b6b6dfc70fd9ccd51eb60",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"flake-parts": "flake-parts",
"nixpkgs": "nixpkgs",
"treefmt-nix": "treefmt-nix"
}
},
"treefmt-nix": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1719243788,
"narHash": "sha256-9T9mSY35EZSM1KAwb7K9zwQ78qTlLjosZgtUGnw4rn4=",
"owner": "numtide",
"repo": "treefmt-nix",
"rev": "065a23edceff48f948816b795ea8cc6c0dee7cdf",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "treefmt-nix",
"type": "github"
}
}
},
"root": "root",
"version": 7
}
This diff is collapsed.
Click to expand it.
flake.nix
+
33
−
24
View file @
fb761c16
{
description
=
"
Description for the project
"
;
description
=
"
Set of tools for the Gepetto Team
"
;
inputs
=
{
flake-parts
.
url
=
"github:hercules-ci/flake-parts"
;
nixpkgs
.
url
=
"github:NixOS/nixpkgs/nixos-unstable"
;
flake-parts
=
{
url
=
"github:hercules-ci/flake-parts"
;
inputs
.
nixpkgs-lib
.
follows
=
"nixpkgs"
;
};
treefmt-nix
=
{
url
=
"github:numtide/treefmt-nix"
;
inputs
.
nixpkgs
.
follows
=
"nixpkgs"
;
};
};
outputs
=
inputs
@
{
flake-parts
,
...
}:
outputs
=
inputs
@
{
flake-parts
,
...
}:
flake-parts
.
lib
.
mkFlake
{
inherit
inputs
;
}
{
imports
=
[
# To import a flake module
# 1. Add foo to inputs
# 2. Add foo as a parameter to the outputs function
# 3. Add here: foo.flakeModule
imports
=
[
inputs
.
treefmt-nix
.
flakeModule
];
systems
=
[
"x86_64-linux"
"aarch64-linux"
"aarch64-darwin"
"x86_64-darwin"
];
systems
=
[
"x86_64-linux"
"aarch64-linux"
"aarch64-darwin"
"x86_64-darwin"
];
perSystem
=
{
config
,
self
'
,
inputs
'
,
pkgs
,
system
,
...
}:
{
# Per-system attributes can be defined here. The self' and inputs'
# module parameters provide easy access to attributes of the same
# system.
# Equivalent to inputs'.nixpkgs.legacyPackages.hello;
packages
.
default
=
pkgs
.
hello
;
};
flake
=
{
# The usual flake attributes can be defined here, including system-
# agnostic ones like nixosModule and system-enumerating ones, although
# those are more easily expressed in perSystem.
};
perSystem
=
{
config
,
pkgs
,
...
}:
{
devShells
.
default
=
pkgs
.
mkShell
{
nativeBuildInputs
=
[
config
.
treefmt
.
build
.
wrapper
];
};
treefmt
=
{
projectRootFile
=
"flake.nix"
;
programs
=
{
deadnix
.
enable
=
true
;
nixfmt-rfc-style
.
enable
=
true
;
ruff
=
{
check
=
true
;
format
=
true
;
};
};
};
};
};
}
This diff is collapsed.
Click to expand it.
scripts/robotpkg-test-rc.py
+
1
−
0
View file @
fb761c16
...
...
@@ -2,6 +2,7 @@
"""
This script performs a few checkouts on branches on robotpkg, and then tries to compile and test everything
"""
import
argparse
import
logging
import
os
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment