openbsd-webzine/README.md

86 lines
2.3 KiB
Markdown
Raw Normal View History

2021-09-26 18:45:48 +00:00
# openbsd-webzine
2021-09-26 19:27:05 +00:00
Repository of the OpenBSD Webzine
# Workflow
2021-09-26 19:27:05 +00:00
Everything related to writing a new issue is under `issues` directory.
2021-09-26 19:27:05 +00:00
## New issue
- copy `_template` directory under a name like `issue-X` with `X` being the new issue number
- delete the symlink `current` and recreate it with the new issue as the target
2021-09-26 19:27:05 +00:00
2021-10-01 00:22:40 +00:00
I.e.
```
$ cd issues
$ cp -r _template issue-3
$ ln -fs issue-3 current
```
2021-09-26 19:27:05 +00:00
## Edit an issue
- cd into `issues/current/` and edit files as needed
- categories that are empty should be commented out using HTML comments
- when you recreate the issues with `make`, the one in development is generated in `../dev/`
- use `make test` to automatically copy the current issue to `/tmp/openbsd-webzine` directory and open it in a web browser
2021-09-26 21:58:38 +00:00
# Contributing
Anyone can contribute by doing the following:
2021-09-26 21:58:38 +00:00
- English proofreading
- translation into other languages
- content contribution
2021-09-26 21:58:38 +00:00
There are many ways to contribute - here is a list by order of preference (easier to handle):
2021-09-26 21:58:38 +00:00
1. make an account on tildegit, fork the project, create a new branch with changes, and send us Pull Requests (it's easy once you get how this work - see "Git usage" below)
2021-10-01 00:22:40 +00:00
2. make a local commit from a freshly updated cloned repository and use `git format-patch` to send an email to a contributor (currently _solene_) so your commit can be merged into the repository easily
3. send a simple diff to a contributor
4. open an issue
5. speak on IRC / XMPP / email
2021-09-27 06:54:42 +00:00
# What content?
For each issue we will try to write about these topics:
- job offers related to OpenBSD (if any)
2021-10-01 00:22:40 +00:00
- big changes landing in _-current_
- syspatch and digest of package updates in _-stable_
- interviews with developers or professionals using OpenBSD (if any)
2021-09-27 06:54:42 +00:00
- tips about shell or OpenBSD
- comments from readers
- links to OpenBSD content
- a piece of artwork
- a few interesting links to social media
2021-09-27 06:54:42 +00:00
## Git usage
Fork this project and clone your own fork, then add the upstream repo.
```
$ git clone git@tildegit.org:foo/openbsd-webzine.git
$ cd openbsd-webzine
$ git remote add upstream https://tildegit.org/solene/openbsd-webzine.git
```
Keep your fork sync with upstream.
```
$ git pull upstream main
```
You can now edit files.
At last, add modified files and commit:
```
$ git add issue-*/
$ git commit -m "message"
$ git push
```
2021-10-01 00:15:29 +00:00
You can now ask for your Pull Request to get merged.