r3c / creep Goto Github PK
View Code? Open in Web Editor NEWIncremental deploy tool, from Git repository or regular directory to FTP or SSH remote.
License: MIT License
Incremental deploy tool, from Git repository or regular directory to FTP or SSH remote.
License: MIT License
Just a question really. The readme doesn't make any mention of sftp; can someone confirm rather or not sftp works with this?
Thanks a lot for this app, it seems to be doing exactly what I want 😃
But every time I call creep
I got the following error:
D:\Prog\Github\ReadingList\site>creep
Traceback (most recent call last):
File "c:\users\man-p\appdata\local\programs\python\python35\lib\runpy.py", line 184, in _run_module_as_main
"__main__", mod_spec)
File "c:\users\man-p\appdata\local\programs\python\python35\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\man-p\AppData\Local\Programs\Python\Python35\Scripts\creep.exe\__main__.py", line 5, in <module>
File "c:\users\man-p\appdata\local\programs\python\python35\lib\site-packages\creep\creep.py", line 6, in <module>
import src
ImportError: No module named 'src'
I used pip
for install and running it on Windows 10 with Python 3.5.2.
And in the creep
installation folder I have the src
folder.
Am I missing something?
I am trying to use creep with an ftp connection, but I have the following error:
�[1;37mINFO: Deploying to location "default"...�[0m
Traceback (most recent call last):
File "c:\users\man-p\appdata\local\programs\python\python35\lib\runpy.py", line 184, in _run_module_as_main
"__main__", mod_spec)
File "c:\users\man-p\appdata\local\programs\python\python35\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\man-p\AppData\Local\Programs\Python\Python35\Scripts\creep.exe\__main__.py", line 9, in <module>
File "c:\users\man-p\appdata\local\programs\python\python35\lib\site-packages\creep\creep.py", line 41, in main
args.yes):
File "c:\users\man-p\appdata\local\programs\python\python35\lib\site-packages\creep\src\deploy.py", line 60, in execute
if not sync (logger, base_path, definition, location, name, append_files, remove_files, rev_from, rev_to, yes):
File "c:\users\man-p\appdata\local\programs\python\python35\lib\site-packages\creep\src\deploy.py", line 109, in sync
data = target.read (logger, location.state)
File "c:\users\man-p\appdata\local\programs\python\python35\lib\site-packages\creep\src\targets\ftp.py", line 50, in read
ftp = self.connect (logger)
File "c:\users\man-p\appdata\local\programs\python\python35\lib\site-packages\creep\src\targets\ftp.py", line 22, in connect
ftp.connect (self.host, self.port)
File "c:\users\man-p\appdata\local\programs\python\python35\lib\ftplib.py", line 153, in connect
source_address=self.source_address)
File "c:\users\man-p\appdata\local\programs\python\python35\lib\socket.py", line 693, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
File "c:\users\man-p\appdata\local\programs\python\python35\lib\socket.py", line 732, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno 11001] getaddrinfo failed
It appear that the connection regex does not allow the #
char, but my password contains one.
Is it possible to remove this restriction?
I plan to use creep in a continuous delivery context, with the files generated during build on the CI server.
For example for my ReadingList project, I run a F# script on AppVeyor which generates some content and after I deploy the files on my FTP.
So right now, if I want to use creep to deploy the files, I need to provides the .creep.env
and .creep.def
files, either by having them on git (but with the FTP password that's not really an option) or by generated them, which is not really practical.
I was thinking to add more arguments to creep, like connection
, local
, source
and maybe algorithm
and follow
.
The goal is not to replace the files, but more to allow a minimal use of creep without using any file.
If you are ok with this idea I will make a PR, tested on both Python 2 & 3 this time 😄
Since the last version (0.5.0) I have the following error:
❯ creep -d '{"source": "hash"}' -b site/_site -y
Traceback (most recent call last):
File "C:\Users\jerem\AppData\Local\Programs\Python\Python39\Scripts\creep-script.py", line 33, in <module>
sys.exit(load_entry_point('creep==0.5.0', 'console_scripts', 'creep')())
File "C:\Users\jerem\AppData\Local\Programs\Python\Python39\lib\site-packages\creep\creep.py", line 93, in main
definition_config = json.loads(args.definition)
NameError: name 'json' is not defined
I don't know if it is related, but I am on Windows.
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.