Skip to content

Instantly share code, notes, and snippets.

View kalefranz's full-sized avatar

Kale Franz kalefranz

  • Anaconda, Inc.
  • Austin, TX
View GitHub Profile
@kalefranz
kalefranz / wait-for-it.sh
Last active March 22, 2019 17:11
mostly POSIX-compliant wait-for-it.sh; works for alpine
#!/bin/sh
# Use this script to test if a given TCP host/port are available
cmdname=$(basename "$0")
echoerr() { if [ "$QUIET" -ne 1 ]; then echo "$@" 1>&2; fi }
usage()
{
cat << USAGE >&2
@kalefranz
kalefranz / issue-triage.md
Created November 2, 2020 14:49
Triaging Conda Issues
  1. The very first step is to make sure the issue is filed in the correct repo. If the issue belongs in another repo within the conda org, use GitHub’s tools to move it to the appropriate repo. If the issue needs to be moved cross-org, use https://github-issue-mover.appspot.com (apparently it’s currently offline: google/github-issue-mover#150).

    • a specific conda package that is not in defaults channels (e.g. from conda-forge):
      ==> encourage the person filing the issue to file in the appropriate upstream location and close the issue
    • a specific conda package from Anaconda defaults channels:
      ==> file at https://github.com/ContinuumIO/anaconda-issues
  • repo.anaconda.com access and service:
@kalefranz
kalefranz / conda-repo-clone
Last active June 24, 2021 10:28
Conda Repo Clone
#!/usr/bin/env python
import hashlib
import json
import logging
import logging.handlers
import os
import shutil
import sys
import tempfile
import urllib