fstrube / frak Goto Github PK
View Code? Open in Web Editor NEWA lightweight deployment tool that uses rsync to push file changes to remote servers.
A lightweight deployment tool that uses rsync to push file changes to remote servers.
When trying to delete a single file via the path=
option, instead the entire project is deployed.
Given the folder:
path/to/project
↳ some-file.txt
↳ some-folder/
↳ another-file.txt
Actual
$ touch new-file.txt
$ mkdir new-folder
$ rm some-file.txt
$ frak path=some-file.txt
*deleting new-file.txt
<f+++++++ new-file.txt
cd+++++++ new-folder/
The above actions will be taken. Continue? (This cannot be undone):
Expected
$ touch new-file.txt
$ mkdir new-folder
$ rm some-file.txt
$ frak path=some-file.txt
*deleting new-file.txt
The above actions will be taken. Continue? (This cannot be undone):
If the webhook URL redirects then the call fails. This can be very basic, such as HTTP redirecting to HTTPS, or Apache adding a trailing slash to directories.
See this article for a possible solution http://stackoverflow.com/questions/6934185/ruby-net-http-following-redirects.
Running frak on Ubuntu 14.04.
Returns the error: sed: can't read s/^\(+[^+].*\)/\1/: No such file or directory
Cannot use the path=
option to target which files to push via Frak. As of version 1.3.1 the path=
command-line option isn't working properly.
Expected
$ frak path=app
<fcsT.... app/Models/Core/Permission.php
<fcsT.... app/Models/Core/Role.php
<fcsT.... app/Models/Core/User.php
The above actions will be taken. Continue? (This cannot be undone):
Actual
$ frak path=app
<fcsT.... app/Models/Core/Permission.php
<fcsT.... app/Models/Core/Role.php
<fcsT.... app/Models/Core/User.php
<f+++++++ database/migrations/2016_03_11_194924_mysql_install.php
<fcsT.... public/js/scripts.js
The above actions will be taken. Continue? (This cannot be undone):
Reported by @billdybas @kfnic and others.
Currently frak init
will create a .frak
and .frakignore
file. The .frak
file which it creates is useless because you still have to consult the documentation to figure out what to put in there.
It would be more useful if the file(s) were populated with the samples found in the README.md file.
The auto-update feature currently replaces the executable file for frak
with the latest version from Github. Unfortunately, if frak
has been cloned from a Git repository and symlinked into the user's $PATH
, then this procedure will dirty the Git workspace. While this may not always cause problems, there is a chance that it could overwrite in-development work.
Instead, the auto-update function should be smart enough to detect that frak
resides in a Git repository and, in turn, use Git to pull from upstream.
Actual:
Expected:
frak
resides in a Git repository, and uses git pull
to update to the latest versionCurrently, Frak has one deployment strategy: rsync. While this works fine for rapid development, sometimes production work is deployed through Git. Therefore, having a deployment type that would use Git to configure and push to remote repositories may be helpful.
Configuration
label: Example Frak Project
method: git
url: [email protected]:fstrube/frak.git
branch: production
Details
method: git
- Tells Frak that we're using the Git method of deployment.
url
- The URL of the remote Git repository.
branch
- (optional) The branch to use. Default is master.
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.