Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Commits on Oct 31, 2013
  1. v0.101752

    authored
              update repo; direct new users to App::GitGot instead
  2. point users at alternative

    authored
Commits on Nov 1, 2011
  1. v0.101751

    authored
              use Config::GitLike, not Config::INI (thanks, AVAR!)
    
              use LWP::UserAgent instead of LWP::Simple so that we can provide
              better error messages (thanks again, AVAR!)
Commits on Oct 3, 2011
  1. @avar

    Use Config::GitLike instead of Config::INI::Reader

    avar authored
    The config files that Git uses are *not* .ini files, they're just in
    ini-like format. By using a module that can actually parse them we
    won't die on e.g. config files with multi-line values escaped with
    "\\n".
  2. @avar

    Git::Megapull::Source::Github: use LWP::UserAgent instead of LWP::Simple

    avar authored
    LWP::Simple doesn't give you access to the status codes of the reply,
    so if you e.g. have the wrong password the code would previously
    return:
    
        $ perl -Ilib bin/git-megapull --bare --source Github
        BAD JSON
        malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "(end of string)") at (eval 144) line 163.
    
    But now it'll return:
    
        $ perl -Ilib bin/git-megapull --bare --source Github
        401 Unauthorized at lib/Git/Megapull/Source/Github.pm line 70.
    
    Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Commits on Dec 1, 2010
  1. fix name in docs

    authored
Commits on Jun 24, 2010
  1. v0.101750

    authored
              improve interaction with bare repositories (thanks, AVAR)
              better error messages (thanks, AVAR)
  2. ignore git stuff

    authored
  3. prep release

    authored
  4. @doy

    just use system() rather than print `...`

    doy authored committed
Commits on Apr 10, 2010
  1. @avar

    Show a less cryptic error message when we can't find github.(login|to…

    avar authored
    …ken)
    
    Before:
    
        $ sudo -u avar -H git-megapull --bare --source Github
        no github login
    
    After:
    
        $ sudo -u avar -H git-megapull --bare --source Github
        No github.login found in `/home/avar/.gitconfig'
Commits on Feb 22, 2010
  1. @avar

    Don't redirect STDERR to STDOUT; It's unfriendly to running git-megap…

    avar authored
    …ull from cron
    
    I'm running this from cron:
    
        #!/bin/bash
    
        # Back up Githup repositories for all users with Git::Megapull
    
        GITHUB=/var/backup/github
    
        for user in $(find $GITHUB -maxdepth 1 -mindepth 1 -type d -printf "%f\n"); do
            cd $GITHUB/$user
            sudo -u $user git-megapull --bare --source Github > /dev/null
        done
    
    If git-megapull redirects 2>&1 then I won't get any errors if
    something actually fails.
    
    Do not destroy Unix.
  2. @avar

    When we clone a --bare repo the directory name is foo.git, not foo. g…

    avar authored
    …it merge also doesn't work on bare repos
  3. @avar
  4. @avar
Commits on Jan 12, 2010
  1. bump changelog

    authored
  2. do not require JSON::XS

    authored
Commits on Sep 14, 2009
  1. oops; installdirs is @classic

    authored
  2. install the script

    authored
Commits on Sep 13, 2009
  1. document config checking

    authored
  2. fix bool logic to not re-clone

    authored
  3. oops, clone name and not hashref

    authored
  4. config checking, fix isa bug

    authored
  5. first post

    authored
Something went wrong with that request. Please try again.