mirror of
https://github.com/MAGICGrants/truenas-apps.git
synced 2026-01-06 19:23:59 -05:00
dev: adds devbox config (#1612)
This commit is contained in:
13
.gitignore
vendored
13
.gitignore
vendored
@@ -1,9 +1,10 @@
|
||||
.vscode
|
||||
__pycache__
|
||||
ix-dev/**/rendered
|
||||
.DS_Store
|
||||
|
||||
ix-dev/test/test-lib/migrations
|
||||
out.yaml
|
||||
.coverage
|
||||
|
||||
.devbox
|
||||
.vscode
|
||||
.DS_Store
|
||||
.venv
|
||||
.pytest_cache
|
||||
.coverage
|
||||
__pycache__
|
||||
|
||||
22
devbox.json
Normal file
22
devbox.json
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.13.7/.schema/devbox.schema.json",
|
||||
"packages": [
|
||||
"python@3.11",
|
||||
"python3Packages.pyyaml",
|
||||
"python3Packages.pytest",
|
||||
"python3Packages.pytest-cov",
|
||||
"python3Packages.bcrypt",
|
||||
"python3Packages.pydantic"
|
||||
],
|
||||
"shell": {
|
||||
"init_hook": [],
|
||||
"scripts": {
|
||||
"ports": ["python3 ./.github/scripts/port_validation.py"],
|
||||
"lib-test": [
|
||||
"pytest library/",
|
||||
"rm -r library/**/__pycache__",
|
||||
"rm -r library/**/tests/__pycache__"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
132
devbox.lock
Normal file
132
devbox.lock
Normal file
@@ -0,0 +1,132 @@
|
||||
{
|
||||
"lockfile_version": "1",
|
||||
"packages": {
|
||||
"python3Packages.bcrypt": {
|
||||
"resolved": "github:NixOS/nixpkgs/75a52265bda7fd25e06e3a67dee3f0354e73243c#python3Packages.bcrypt",
|
||||
"source": "nixpkg",
|
||||
"systems": {
|
||||
"aarch64-darwin": {
|
||||
"outputs": [
|
||||
{
|
||||
"path": "/nix/store/0bialsv3mzc3hfkynkky2h4g0fkhl27b-python3.11-bcrypt-4.0.1",
|
||||
"default": true
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"python3Packages.pydantic": {
|
||||
"resolved": "github:NixOS/nixpkgs/75a52265bda7fd25e06e3a67dee3f0354e73243c#python3Packages.pydantic",
|
||||
"source": "nixpkg",
|
||||
"systems": {
|
||||
"aarch64-darwin": {
|
||||
"outputs": [
|
||||
{
|
||||
"path": "/nix/store/lmhr8skgkpbf8y9frfcfhyd1cwbp7d35-python3.11-pydantic-1.10.12",
|
||||
"default": true
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"python3Packages.pytest": {
|
||||
"resolved": "github:NixOS/nixpkgs/75a52265bda7fd25e06e3a67dee3f0354e73243c#python3Packages.pytest",
|
||||
"source": "nixpkg",
|
||||
"systems": {
|
||||
"aarch64-darwin": {
|
||||
"outputs": [
|
||||
{
|
||||
"path": "/nix/store/97pny9bx1msg7nlj5zgvj7abfyyx76rg-python3.11-pytest-7.4.2",
|
||||
"default": true
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"python3Packages.pytest-cov": {
|
||||
"resolved": "github:NixOS/nixpkgs/75a52265bda7fd25e06e3a67dee3f0354e73243c#python3Packages.pytest-cov",
|
||||
"source": "nixpkg",
|
||||
"systems": {
|
||||
"aarch64-darwin": {
|
||||
"outputs": [
|
||||
{
|
||||
"path": "/nix/store/a2j6csrpmnzfp2shblk00z3b4b6jdgax-python3.11-pytest-cov-4.1.0",
|
||||
"default": true
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"python3Packages.pyyaml": {
|
||||
"resolved": "github:NixOS/nixpkgs/75a52265bda7fd25e06e3a67dee3f0354e73243c#python3Packages.pyyaml",
|
||||
"source": "nixpkg",
|
||||
"systems": {
|
||||
"aarch64-darwin": {
|
||||
"outputs": [
|
||||
{
|
||||
"path": "/nix/store/wr951m2xcgnndqjdh7i51dknsmnbxa4f-python3.11-pyyaml-6.0.1",
|
||||
"default": true
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"python@3.11": {
|
||||
"last_modified": "2025-01-19T08:16:51Z",
|
||||
"plugin_version": "0.0.4",
|
||||
"resolved": "github:NixOS/nixpkgs/50165c4f7eb48ce82bd063e1fb8047a0f515f8ce#python311",
|
||||
"source": "devbox-search",
|
||||
"version": "3.11.11",
|
||||
"systems": {
|
||||
"aarch64-darwin": {
|
||||
"outputs": [
|
||||
{
|
||||
"name": "out",
|
||||
"path": "/nix/store/s3pq6y9qhdqc9mab8yir2mr16xr7rx5p-python3-3.11.11",
|
||||
"default": true
|
||||
}
|
||||
],
|
||||
"store_path": "/nix/store/s3pq6y9qhdqc9mab8yir2mr16xr7rx5p-python3-3.11.11"
|
||||
},
|
||||
"aarch64-linux": {
|
||||
"outputs": [
|
||||
{
|
||||
"name": "out",
|
||||
"path": "/nix/store/i7svvkm9ndrh1kwr4xhkh0df1d78fcjs-python3-3.11.11",
|
||||
"default": true
|
||||
},
|
||||
{
|
||||
"name": "debug",
|
||||
"path": "/nix/store/gwicdi09hhln3vg650zkgm9c0maci7l1-python3-3.11.11-debug"
|
||||
}
|
||||
],
|
||||
"store_path": "/nix/store/i7svvkm9ndrh1kwr4xhkh0df1d78fcjs-python3-3.11.11"
|
||||
},
|
||||
"x86_64-darwin": {
|
||||
"outputs": [
|
||||
{
|
||||
"name": "out",
|
||||
"path": "/nix/store/r2lldrdrchb6vfz1qbr09qxn2hqm6l5f-python3-3.11.11",
|
||||
"default": true
|
||||
}
|
||||
],
|
||||
"store_path": "/nix/store/r2lldrdrchb6vfz1qbr09qxn2hqm6l5f-python3-3.11.11"
|
||||
},
|
||||
"x86_64-linux": {
|
||||
"outputs": [
|
||||
{
|
||||
"name": "out",
|
||||
"path": "/nix/store/3i8fa331nr390ylkf1xka5ah0hvbvfbs-python3-3.11.11",
|
||||
"default": true
|
||||
},
|
||||
{
|
||||
"name": "debug",
|
||||
"path": "/nix/store/g6p2lmraliym2qshq5pvqmnlsnirwzhm-python3-3.11.11-debug"
|
||||
}
|
||||
],
|
||||
"store_path": "/nix/store/3i8fa331nr390ylkf1xka5ah0hvbvfbs-python3-3.11.11"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user