-
Notifications
You must be signed in to change notification settings - Fork 423
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
131 changed files
with
4,127 additions
and
4,697 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
git | ||
less | ||
htop | ||
nano | ||
ssh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
// For format details, see https://aka.ms/devcontainer.json | ||
{ | ||
"name": "Miniconda (default-channel=defaults)", | ||
"image": "continuumio/miniconda3:latest", | ||
|
||
// Features to add to the dev container. More info: https://containers.dev/features. | ||
// "features": {}, | ||
|
||
// Use 'forwardPorts' to make a list of ports inside the container available locally. | ||
// "forwardPorts": [], | ||
// Use 'postCreateCommand' to run commands after the container is created. | ||
"postCreateCommand": "bash /workspaces/conda-build/.devcontainer/post_create.sh", | ||
// Use 'postStartCommand' to run commands after the container is started. | ||
"postStartCommand": "bash /workspaces/conda-build/.devcontainer/post_start.sh", | ||
|
||
// Configure tool-specific properties. | ||
"customizations": { | ||
"vscode": { | ||
"settings": { | ||
"python.defaultInterpreterPath": "/opt/conda/bin/python", | ||
"python.testing.pytestArgs": [ | ||
"tests" | ||
], | ||
"python.testing.unittestEnabled": false, | ||
"python.testing.pytestEnabled": true | ||
}, | ||
"extensions": [ | ||
"charliermarsh.ruff", | ||
"eamodio.gitlens", | ||
"ms-toolsai.jupyter" | ||
] | ||
} | ||
} | ||
|
||
// Adjust to connect as non-root instead. More info: https://aka.ms/dev-containers-non-root. | ||
// "remoteUser": "root", | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/bin/bash | ||
|
||
set -euo pipefail | ||
|
||
BASE_CONDA=${BASE_CONDA:-/opt/conda} | ||
SRC_CONDA_BUILD=${SRC_CONDA_BUILD:-/workspaces/conda-build} | ||
|
||
if which apt-get > /dev/null; then | ||
HERE=$(dirname $0) | ||
echo "Installing system dependencies" | ||
apt-get update | ||
DEBIAN_FRONTEND=noninteractive xargs -a "$HERE/apt-deps.txt" apt-get install -y | ||
fi | ||
|
||
# Clear history to avoid unneeded conflicts | ||
echo "Clearing base history..." | ||
echo '' > "$BASE_CONDA/conda-meta/history" | ||
|
||
echo "Installing dev dependencies" | ||
"$BASE_CONDA/bin/conda" install \ | ||
-n base \ | ||
--yes \ | ||
--quiet \ | ||
--file "$SRC_CONDA_BUILD/tests/requirements.txt" \ | ||
--file "$SRC_CONDA_BUILD/tests/requirements-Linux.txt" \ | ||
--file "$SRC_CONDA_BUILD/tests/requirements-ci.txt" \ | ||
"conda>=23.7.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/bin/bash | ||
|
||
# This script assumes we are running in a Miniconda container where: | ||
# - /opt/conda is the Miniconda or Miniforge installation directory | ||
# - https://github.com/conda/conda is mounted at /workspaces/conda | ||
# - https://github.com/conda/conda-libmamba-solver is mounted at | ||
# /workspaces/conda-libmamba-solver | ||
# - https://github.com/mamba-org/mamba is (optionally) mounted at | ||
# /workspaces/mamba | ||
|
||
set -euo pipefail | ||
|
||
BASE_CONDA=${BASE_CONDA:-/opt/conda} | ||
SRC_CONDA_BUILD=${SRC_CONDA_BUILD:-/workspaces/conda-build} | ||
|
||
echo "Installing conda-build in dev mode..." | ||
"$BASE_CONDA/bin/python" -m pip install -e "$SRC_CONDA_BUILD" --no-deps | ||
|
||
set -x | ||
conda list -p "$BASE_CONDA" | ||
conda info | ||
conda config --show-sources | ||
set +x |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
--- | ||
name: Bug Report | ||
description: Create a bug report. | ||
labels: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
--- | ||
name: Feature Request | ||
description: Create a feature request. | ||
labels: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
--- | ||
name: Documentation | ||
description: Create a documentation related issue. | ||
labels: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,14 @@ | ||
# To get started with Dependabot version updates, you'll need to specify which | ||
# package ecosystems to update and where the package manifests are located. | ||
# Please see the documentation for all configuration options: | ||
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: "pip" | ||
directory: "/docs/" | ||
- package-ecosystem: pip | ||
directory: /docs/ | ||
schedule: | ||
interval: "weekly" | ||
interval: weekly | ||
allow: | ||
# Allow only production updates for Sphinx | ||
- dependency-name: "sphinx" | ||
dependency-type: "production" | ||
- dependency-name: sphinx | ||
dependency-type: production | ||
- package-ecosystem: github-actions | ||
directory: /.github/workflows | ||
schedule: | ||
interval: weekly |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,9 @@ | ||
# Builds | ||
- name: build::review | ||
description: trigger a build for this PR | ||
color: "7B4052" | ||
- name: build::review | ||
description: trigger a build for this PR | ||
color: '#7b4052' | ||
|
||
# Tags | ||
- name: tag::noarch | ||
description: related to noarch builds | ||
color: "86C579" | ||
aliases: [] | ||
|
||
# Deprecated | ||
- name: 3_In_Progress | ||
description: "[deprecated] use milestones/project boards" | ||
color: "888888" | ||
- name: 4_Needs_Review | ||
description: "[deprecated] use milestones/project boards" | ||
color: "888888" | ||
- name: effort-high | ||
description: "[deprecated]" | ||
color: "888888" | ||
- name: effort-low | ||
description: "[deprecated] use good-first-issue" | ||
color: "888888" | ||
- name: effort-medium | ||
description: "[deprecated]" | ||
color: "888888" | ||
- name: in_progress | ||
description: "[deprecated] use milestones/project boards" | ||
color: "888888" | ||
- name: knowledge-high | ||
description: "[deprecated]" | ||
color: "888888" | ||
- name: knowledge-low | ||
description: "[deprecated] use good-first-issue" | ||
color: "888888" | ||
- name: knowledge-medium | ||
description: "[deprecated]" | ||
color: "888888" | ||
- name: tag::noarch | ||
description: related to noarch builds | ||
color: '#86c579' |
Oops, something went wrong.