Giter Site home page Giter Site logo

frak's People

Contributors

fstrube avatar kfnic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

frak's Issues

Cannot delete single files

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):

The `path=` option stopped working

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.

Auto-update should use git pull

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:

  • Auto-update replaces current file, resulting in unstaged (possibly overwritten) changes to the Git repository

Expected:

  • Auto-update detects that frak resides in a Git repository, and uses git pull to update to the latest version

Ability to deploy using Git

Currently, 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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.