Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IMPORTANT] Decoupling from Node.Js #75

Closed
3 tasks done
caffeine-addictt opened this issue Aug 9, 2024 · 0 comments · Fixed by #80
Closed
3 tasks done

[IMPORTANT] Decoupling from Node.Js #75

caffeine-addictt opened this issue Aug 9, 2024 · 0 comments · Fixed by #80
Assignees
Labels
help wanted Help wanted Type: Breaking A problem or enhancement related to a breaking change.

Comments

@caffeine-addictt
Copy link
Owner

caffeine-addictt commented Aug 9, 2024

Hello developers! I want to talk about how I want to continue this project for v2.0 and beyond.

Goal with the project

Making a lot of repositories over the past few months, I realized how tedious setting up everything is, and that is why I created this repository. I wanted to alleviate this painpoint for myself and hopefully for other developers as well. I want this project to be able to work for everyone and not require special tools to get this running. I want a community to be able to easily create and share repository styles - and Node.Js ain't going to cut it.

The solution? Distributed Binaries! They are cross-platform and not tied to any specific language, can be easily installed and ran. Doing things this way will also make this project much easier to maintain.

Contributing

Please direct all PRs to v2 branch

The plan

Language: GOlang.

I want people to be able to create their own repository styles and this repository will serve as a "default style" per say. The tool will be able to pull git repositories and automate most if not all the setup needed. A community style can be chosen with a flag to the tool. Something like proj --repo https://github.com/org/repo-style etc. Also a -d/--directory flag for nested style support.

Spec

template.json
{
    "name": "template name",
    "setup": {
        "linux": "path/to/file.sh",
        "windows": "path/to/file.bat"
    },
    "ignore": [
        "path/to/file",
        "path/to/dir",
        "path/to/files/*",
        "!path/to/files/not/to/ignore"
    ],
    "labels": {
        "my feature": "my color"
    },
    "prompts": {
        "my templated": "Text to prompt user with"
    },
    "styles": {
        "my style name": {
            "source": "path/to/style/dir/with/templatejson",
            "setup": {
                "linux": "path/to/file.sh",
                "windows": "path/to/file.bat"
           },
           "ignore": [
                "path/to/file",
                "path/to/dir",
                "path/to/files/*",
                "!path/to/files/not/to/ignore"
            ],
            "labels": {
                "my feature": "my color"
            },
            "prompts": {
                "my templated": "Text to prompt user with"
            }
        }
    }
}
file structure

project/
    template.json

OR (with -d option)

project/
    template/
        template.json

I'm very open and looking for contributors to help out. (please 🙏🏻)

@caffeine-addictt caffeine-addictt added help wanted Help wanted Type: Breaking A problem or enhancement related to a breaking change. labels Aug 9, 2024
@caffeine-addictt caffeine-addictt added this to the v2.0.0 milestone Aug 9, 2024
@caffeine-addictt caffeine-addictt self-assigned this Aug 9, 2024
@caffeine-addictt caffeine-addictt pinned this issue Aug 9, 2024
@caffeine-addictt caffeine-addictt linked a pull request Aug 27, 2024 that will close this issue
caffeine-addictt added a commit that referenced this issue Sep 1, 2024
* Handles replacing {{A}} with b etc.

Ref #46
Ref #75

Signed-off-by: AlexNg <[email protected]>
@caffeine-addictt caffeine-addictt modified the milestones: v2.0.0, Golang CLI tool Sep 2, 2024
@caffeine-addictt caffeine-addictt unpinned this issue Sep 7, 2024
This was referenced Sep 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Help wanted Type: Breaking A problem or enhancement related to a breaking change.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant