Skip to content

Instantly share code, notes, and snippets.

@btel
Last active October 1, 2020 19:31
Show Gist options
  • Save btel/5e61adf4470591fc2d2829b4f21aee80 to your computer and use it in GitHub Desktop.
Save btel/5e61adf4470591fc2d2829b4f21aee80 to your computer and use it in GitHub Desktop.
quetz-segfault-steps
# get package files from git
git clone https://github.com/mamba-org/quetz.git
cd quetz
# start quetz without reload
quetz run test_quetz_test12 --dev --copy-conf dev_config.toml
export QUETZ_API_KEY=...
curl -X POST "http://localhost:8000/api/channels" \
-H "accept: application/json" \
-H "Content-Type: application/json" \
-H "X-API-Key: ${QUETZ_API_KEY}" \
-d '{"name":"channel12", "private":false }'
quetz-client http://localhost:8000/api/channels/channel12 quetz/tests/data/test-package-0.1-0.tar.bz2
quetz-client http://localhost:8000/api/channels/channel12 quetz/tests/data/test-package-0.2-0.tar.bz2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment