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

First draft of an (almost) universal project template #1

Merged
merged 18 commits into from
Jul 28, 2016
Merged

First draft of an (almost) universal project template #1

merged 18 commits into from
Jul 28, 2016

Conversation

mstade
Copy link
Member

@mstade mstade commented Jul 27, 2016

This work represents a first stab at a template for open source software projects under the Zambezi banner. It adds sensible defaults for most things, and elsewhere specifies where things should change.

The rationale can probably further explain why some choices were made (such as why MIT, for instance) but other than that this is probably a pretty complete collection of files.

Note that this does not include notably specific files such as project.json, .gitignore, and others. We may want to add those, but we may not, and just create forks of this project, that are effectively variants. (E.g. for a node project, it might be zambezi/project-node, or some such.)

Demo: https://github.com/zambezi/project/tree/v1

mstade added 2 commits July 27, 2016 19:31
This commit represent a first stab at a template for open source
software projects under the Zambezi banner. It adds sensible
defaults for most things, and elsewhere specifies where things
should change.

The rationale can probably further explain *why* some choices were
made (such as why MIT, for instance) but other than that this is
probably a pretty complete collection of files.

Note that this does not include notably specific files such as
project.json, .gitignore, and others. We may want to add those,
but we may not, and just create forks of this project, that are
effectively variants. (E.g. for a node project, it might be
zambezi/project-node, or some such.)
@mstade mstade changed the title First draft of an (almost) universal project template. First draft of an (almost) universal project template Jul 27, 2016
@mstade
Copy link
Member Author

mstade commented Jul 27, 2016

@zambezi/contributors I'd love to have your input on this PR, to see if there's anything missing, or whether this need fixing. I think it's pretty extensive as a first cut of a foundation for all our open source projects, but undoubtedly it can improve.

mstade added 10 commits July 27, 2016 22:11
The note about following the code of conduct seemed redundant and
passive aggressive, so I removed it as well.
These should provide a good enough base for most software projects.
The absolute URLs would make it too easy to forget to change
things specific to the template. With this change, it shouldn't
matter since the links would be relative to the file.
These instructions are like a poor mans templating solution, in
lieu of a more complete solution. The benefit to this is that the
only dependency is `git`, which is a nice place to be.

To create a new project:

1. Clone (or download) this project: `git clone [email protected]:zambezi/project.git your-project`
Copy link

@matthewdunsdon matthewdunsdon Jul 27, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we produce a GitHub release of this project (once PR merged) with a zip attached that contains the minimal files for getting started?

With a zip, the instructions for getting started could be simplified (no .git directory deleting).

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right, and when you're right, you're right! :o)

Updated to much simpler instructions in d7ac692.

@gabrielmontagne
Copy link

@mstade , I like this a lot. Even though there's no code here, it already feels like a mature project just from the format and the tone 👍

@mstade
Copy link
Member Author

mstade commented Jul 28, 2016

Awesome, that's what I was going for – thanks @gabrielmontagne! :o)

@mstade
Copy link
Member Author

mstade commented Jul 28, 2016

Unless there's any more feedback on this, I'll merge and release v1.0.0 and start overlaying this on the other repos in the org.

@FabienDeshayes
Copy link
Member

Yeah it's all good stuff!

@mstade mstade merged commit 76d7ad4 into master Jul 28, 2016
@mstade mstade deleted the v1 branch July 28, 2016 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants