GithubHelp home page GithubHelp logo

Comments (7)

realtux avatar realtux commented on September 15, 2024

No, it definitely should not make one commit. If your target repo(s) has 1000 commits, the dummy repo should then have 1000 commits.

from gitdummy.

JamesOwers avatar JamesOwers commented on September 15, 2024

Fixed it, I need to split the target repo list e.g.:

[
    {
        "target_repo"       : ["/Users/kungfujam/git/exc1"],
        "target_email"      : ["[email protected]","[email protected]"],
        "dummy_repo"        : "/Users/kungfujam/git/private_dummy",
        "dummy_repo_data"   : "/Users/kungfujam/git/private_dummy/data",
        "dummy_email"       : "[email protected]",
        "dummy_name"        : "Dummy",
        "dummy_readme"      : "This public repository reflects the commits from a private repo (minus the actual code)",
        "dummy_ext"         : ".js",
        "dummy_code"        : "'use strict';",
        "hide_commits"      : true,
        "random_file_name"  : false,
        "auto_push"         : true,
        "force"             : false,
        "remote"            : "https://github.com/kungfujam/private_dummy"
    },
    {
        "target_repo"       : ["/Users/kungfujam/git/mlpr1"],
        "target_email"      : ["[email protected]","[email protected]"],
        "dummy_repo"        : "/Users/kungfujam/git/private_dummy",
        "dummy_repo_data"   : "/Users/kungfujam/git/private_dummy/data",
        "dummy_email"       : "[email protected]",
        "dummy_name"        : "Dummy",
        "dummy_readme"      : "This public repository reflects the commits from a private repo (minus the actual code)",
        "dummy_ext"         : ".js",
        "dummy_code"        : "'use strict';",
        "hide_commits"      : true,
        "random_file_name"  : false,
        "auto_push"         : true,
        "force"             : false,
        "remote"            : "https://github.com/kungfujam/private_dummy"
    },
    {
        "target_repo"       : ["/Users/kungfujam/git/TheBlog"],
        "target_email"      : ["[email protected]","[email protected]"],
        "dummy_repo"        : "/Users/kungfujam/git/private_dummy",
        "dummy_repo_data"   : "/Users/kungfujam/git/private_dummy/data",
        "dummy_email"       : "[email protected]",
        "dummy_name"        : "Dummy",
        "dummy_readme"      : "This public repository reflects the commits from a private repo (minus the actual code)",
        "dummy_ext"         : ".js",
        "dummy_code"        : "'use strict';",
        "hide_commits"      : true,
        "random_file_name"  : false,
        "auto_push"         : true,
        "force"             : false,
        "remote"            : "https://github.com/kungfujam/private_dummy"
    },
    {
        "target_repo"       : ["/Users/kungfujam/git/mooc_analysis"],
        "target_email"      : ["[email protected]","[email protected]"],
        "dummy_repo"        : "/Users/kungfujam/git/private_dummy",
        "dummy_repo_data"   : "/Users/kungfujam/git/private_dummy/data",
        "dummy_email"       : "[email protected]",
        "dummy_name"        : "Dummy",
        "dummy_readme"      : "This public repository reflects the commits from a private repo (minus the actual code)",
        "dummy_ext"         : ".js",
        "dummy_code"        : "'use strict';",
        "hide_commits"      : true,
        "random_file_name"  : false,
        "auto_push"         : true,
        "force"             : false,
        "remote"            : "https://github.com/kungfujam/private_dummy"
    }
]

πŸ˜„

public_fixed

from gitdummy.

realtux avatar realtux commented on September 15, 2024

Hmm, that's a bug. You should be able to do it like you did in the first config file. I'm gonna fix this.

from gitdummy.

JamesOwers avatar JamesOwers commented on September 15, 2024

Grand, cheers for this repo by the way. Simple and effective. πŸ‘ πŸ˜„

from gitdummy.

realtux avatar realtux commented on September 15, 2024

Thanks πŸ˜„ glad you like it. It's been nice seeing it growing and used over the last year.

from gitdummy.

realtux avatar realtux commented on September 15, 2024

I'm embarrassed this was even an issue. It should be fixed now. If you're a Python programmer, check the commit. You'll laugh.

from gitdummy.

JamesOwers avatar JamesOwers commented on September 15, 2024

Initialising inside a loop is a classic πŸ˜‰

from gitdummy.

Related Issues (18)

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.