Skip to content

Instantly share code, notes, and snippets.

View philipsd6's full-sized avatar

Philip Douglass philipsd6

View GitHub Profile
@philipsd6
philipsd6 / _openstack
Created February 22, 2017 16:37
openstack completion for zsh, lifted from http://www.zsh.org/mla/workers/2016/msg01936.html
#compdef openstack aodh barbican ceilometer cinder cloudkitty designate glance gnocchi heat ironic keystone magnum manila mistral monasca murano neutr
# https://wiki.openstack.org/wiki/OpenStackClients
# http://docs.openstack.org/user-guide/common/cli-install-openstack-command-line-clients.html
local curcontext="$curcontext" state line expl ret=1
local -a clnts_compl_new clnts_compl_old clnts_swift_like
#
@philipsd6
philipsd6 / pyproject.toml
Last active October 24, 2021 20:18
python-poetry/poetry issue #4674
[tool.poetry]
name = "testing-poetry"
description = "poetry update reinstalls same versions"
version = "0.1.0"
authors = ["Me <[email protected]>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.9"
fastapi = "^0.68.0"
@philipsd6
philipsd6 / poetry-update-vvv.txt
Created October 24, 2021 20:24
poetry update -vvv output
Loading configuration file /home/philipsd6/.config/pypoetry/config.toml
Loading configuration file /home/philipsd6/.config/pypoetry/auth.toml
Adding repository artifactory (https://internal-repository/api/pypi/pypi/simple) and setting it as the default one
Deactivating the PyPI repository
Using virtualenv: /home/philipsd6/.cache/pypoetry/virtualenvs/testing-poetry-7qidRo_f-py3.10
Updating dependencies
Resolving dependencies...
1: fact: testing-poetry is 0.1.0
1: derived: testing-poetry
1: fact: testing-poetry depends on fastapi (^0.68.0)