56quarters / tunic Goto Github PK
View Code? Open in Web Editor NEWA Python library for deploying code on remote servers
Home Page: https://tunic.readthedocs.io/
License: MIT License
A Python library for deploying code on remote servers
Home Page: https://tunic.readthedocs.io/
License: MIT License
There should be an installer that supports placing a single (local) build artifact in a release directory. This would be useful for installing a Java jar or Python package with a main.py file.
This installer should accept a URL from which to download an artifact and then install it on a remote machine (similar to how LocalArtifactInstallation
works).
==================================== ERRORS ====================================
____________________ ERROR collecting test/unit/test_api.py ____________________
test/unit/test_api.py:3: in <module>
import tunic.api
.tox/py26/lib/python2.6/site-packages/tunic/api.py:17: in <module>
from .core import (
.tox/py26/lib/python2.6/site-packages/tunic/core.py:26: in <module>
from fabric.api import (
.tox/py26/lib/python2.6/site-packages/fabric/api.py:11: in <module>
from fabric.decorators import (hosts, roles, runs_once, with_settings, task,
.tox/py26/lib/python2.6/site-packages/fabric/decorators.py:9: in <module>
from Crypto import Random
E ImportError: No module named Crypto
Probably time to finally upgrade to Fabric 2 and start supporting Python 3. We should bump our version to 2 as part of this.
Older version of Fabric didn't have the warn_only
context manager. Tunic should gracefully handle this case (it's a pretty simple definition when it's missing).
Settings to retry downloads are useful but they're currently buried several layers away from how people interact with HttpArtifactInstallation
. No one wants to inject a bunch of esoteric functions to get retry logic. These settings should just be exposed in the constructor.
Once #2 is complete, create a wrapper that accepts a path, http(s) URL, or SSH hostname/path and delegates to the appropriate code. Introduce this in pre v2 and update docs to recommend that people just use this instead of the more specific classes.
After #3, the next way to make installers more flexible and easy to use is to let people apply some sort of 'unzip' to the artifact. This would help for legacy applications at ST that are 'built' by creating a tarball. It would also be useful for deploying WARs.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.