Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Hugo Briand
    @Bladrak
    Regarding the --no-single-branch option, I think it would be a bit useless as it would serve only if you have depth != false, and no sparse checkout, and wish to fetch different branches
    Vincent Lepot
    @vincentlepot
    maybe
    I agree, just putting depth to false should be enough.
    Hugo Briand
    @Bladrak
    Yep
    Vincent Lepot
    @vincentlepot
    As a further step, if someone wants to trick a little, we could add a way to add options to the git commands with a parameter (but it can be embedded in a further release)
    Hugo Briand
    @Bladrak
    Or we could say that if the depth != false, we add the --no-single-branch option to git clone command automatically? So we avoid another BC BREAK
    Vincent Lepot
    @vincentlepot
    Yes I agree
    Hugo Briand
    @Bladrak
    I thought about the generic :git_options option as well, but we have a lot of different git commands throughout the process, it may not be that easy to do
    Just committed the depth thingy, plus changelog edits & version, I'll be publishing the gem soon
    Vincent Lepot
    @vincentlepot
    Great !
    Hugo Briand
    @Bladrak
    1.3.0 is pushed :)
    Vincent Lepot
    @vincentlepot
    Good news :)
    Vincent Lepot
    @vincentlepot
    Thanks for all :)
    Hugo Briand
    @Bladrak
    No problem ;)
    Zeke Gabrielse
    @ezekg
    Thanks a ton for forking this project and cleaning it up. Using it here: https://github.com/ezekg/theme-juice-cli
    :thumbsup:
    Hugo Briand
    @Bladrak
    @ezekg no problems, needed it as well for our clients :) seems a nice project what you have there!
    Zeke Gabrielse
    @ezekg
    Thanks!
    Zeke Gabrielse
    @ezekg
    I'm hitting some issues with the rsync:release task running on servers that are set as :no_release => true – I believe it is because you're running the release task on all roles(:all), instead of release_roles(:all) like you do for rsync:stage. Here's what I'm talking about: https://github.com/Bladrak/capistrano-rsync/blob/master/lib/capistrano/rsync.rb#L183
    It's causing my deploys to fail because it tries to run rsync:release on my Vagrant machine, which is set to :no_release => true
    You should allow issues on your repo as well so that we can track this stuff :)
    Zeke Gabrielse
    @ezekg
    Bladrak/capistrano-rsync#9 :thumbsup:
    Hugo Briand
    @Bladrak
    Thanks @ezekg that's merged :) I allowed the issues as well, don't know why they weren't enabled :/
    Zeke Gabrielse
    @ezekg
    Thanks! I think by default GitHub disables issues for forked repos, so that's probably why.
    Hugo Briand
    @Bladrak
    Ah maybe yes :)
    Zeke Gabrielse
    @ezekg
    When you get around to it, could you cut a new gem release with the patch I made? Thanks! Have a good weekend :fireworks:
    Hugo Briand
    @Bladrak
    Sure
    1.3.1 is out :)
    Have a nice week-end as well ;)
    Zeke Gabrielse
    @ezekg
    It still looks like I'm hitting the same error:
    ** Execute rsync:release
    INFO [bf252e56] Running /usr/bin/env rsync --archive --acls --xattrs "/var/www/staging/shared/deploy/" "/var/www/staging/releases/20150707135424/" as vagrant@██████████████.dev
    INFO [07a80c6a] Running /usr/bin/env rsync --archive --acls --xattrs "/var/www/staging/shared/deploy/" "/var/www/staging/releases/20150707135424/" as deploy@██████████████
    INFO [07a80c6a] Finished in 2.254 seconds with exit status 0 (successful).
    /Users/█████████████████/.rvm/gems/ruby-2.0.0-p643/gems/sshkit-1.7.1/lib/sshkit/runners/parallel.rb:16:in `rescue in block (2 levels) in execute': Exception while executing as vagrant@██████████████.dev: rsync --archive --acls --xattrs "/var/www/staging/shared/deploy/" "/var/www/staging/releases/20150707135424/" exit status: 11 (SSHKit::Runner::ExecuteError)
    rsync --archive --acls --xattrs "/var/www/staging/shared/deploy/" "/var/www/staging/releases/20150707135424/" stdout: Nothing written
    rsync --archive --acls --xattrs "/var/www/staging/shared/deploy/" "/var/www/staging/releases/20150707135424/" stderr: rsync: change_dir "/var/www/staging/shared/deploy" failed: No such file or directory (2)
    rsync: mkdir "/var/www/staging/releases/20150707135424" failed: No such file or directory (2)
    rsync error: error in file IO (code 11) at main.c(674) [Receiver=3.1.0]
        from /Users/█████████████████/.rvm/gems/ruby-2.0.0-p643/gems/sshkit-1.7.1/lib/sshkit/runners/parallel.rb:12:in `block (2 levels) in execute'
    Any ideas? Does the new gem release contain the patch I made?
    Vincent Lepot
    @vincentlepot
    The error may be before this. Has the cache been synchronized before? (there should be 2 rsyncs before those ones)
    Zeke Gabrielse
    @ezekg
    Yeah, I ommited those because they went through fine. I'll try clearing the deploy cache before the next attempt.
    Zeke Gabrielse
    @ezekg
    The issue that it is attempting to run that command on my VM where the path doesn't exist, and it shouldn't be trying to do that as that stage is set to no_release: true
    Vincent Lepot
    @vincentlepot
    I thought it was done in 1.3.1
    Zeke Gabrielse
    @ezekg
    Same here. I don't think my patch got included in 1.3.1 (from looking at the installed gems source)
    Hugo Briand
    @Bladrak
    @ezekg heres what the 1.3.1 version should contain: https://github.com/Bladrak/capistrano-rsync/tree/1.3.1
    Vincent Lepot
    @vincentlepot
    Have you tried with master to see if it actually works?
    Hugo Briand
    @Bladrak
    In any case I've pushed 1.3.2 with recent edits
    Vincent Lepot
    @vincentlepot
    OK, I'll give it a try
    Vincent Lepot
    @vincentlepot
    Seems good for my patches
    Hugo Briand
    @Bladrak
    Cool:)
    Zeke Gabrielse
    @ezekg
    Everything works now! Thanks man :clap:
    Hugo Briand
    @Bladrak
    You're welcome :)
    Nilesh
    @nileshtrivedi
    Anyone using capistrano to deploy Play frameworks apps?
    ely029
    @ely029
    @Bladrak
    Hugo Briand
    @Bladrak
    yes @ely029 ? :)
    ely029
    @ely029
    Hey sorry late reply. I want to deploy my sample project from ubuntu to windows I have succesfully make a ssh key on ubuntu. Now I want to do this via only copying files from the windows to the ubuntu remotely. When I execute 'cap production deploy', I got this error
    'fatal: No remote configured to list refs from.'
    I guest this is from the git.
    my question is, How can setup inscm if I had only copy and paste the project from windows to server?
    thanks man
    Hugo Briand
    @Bladrak
    @ely029 are you using capistrano-rsync as an scm? If so, it seems you're missing some options
    Also, you may need to have rsync installed on your windows server