Debian Codegraph @

texmf-dist/doc/latex/europecv/CONTRIBUTING.md

raw symbols SCIP
1 Contributing
2 ============
3
4 👍🎉 Thanks a lot for considering contributing 🎉👍
5
6 We welcome and encourage contribution. There is many way to contribute: you can
7 write bug report, contribute code or documentation (take a look at the
8 [Wiki section](https://github.com/gsilano/EuropeCV/wiki)).
9
10 ## Working on your first Pull Request?
11
12 You can learn how from this *free* series [How to Contribute to an Open Source Project on GitHub](https://egghead.io/series/how-to-contribute-to-an-open-source-project-on-github)
13
14 ## Reporting issues
15
16 When reporting issues the more information you can supply the better.
17
18 If it is an issue with building the LaTeX package, indicate your environment like operating system and,
19 version of MikTeX your are using.
20
21 ## Improvements request and proposal
22
23 Feel free to make an issue to request a new functionality.
24
25 ## Contributing code/Pull-Request
26
27 We welcome contribution, this can be done by starting a pull-request.
28 You can contribute by updating the package content or styling, code (.cls file), or both.
29
30 ### Contributing content or styling
31
32 There is a couple of basic requirement for us to merge the pull request:
33 - The styling should maintain the compatibility with previous versions. For example, if you plan to
34 add a new number to the contact information, it should be optional and not mandatory allowing not to
35 change anything to the other users of the package.
36
37 ### Contributing code
38
39 If the change is big, typically if the change span to more than one file, consider starting an issue first to discuss the improvement.
40 This will makes it much easier to make the change fit well into the package.
41
42 There is some basic requirement for us to merge a pull request:
43 - Describe the change (a bot will remind you in case you forget it)
44 - Refer to any issues it effects
45 - Separate one pull request per functionality: if you start writing "and" in the feature description consider if it could be
46 separated in two pull requests.
47
48 In your code:
49 - Make sure the coding style of your code follows the style of the file.
50
51 ## Workflow
52
53 ### Stable branch: `master`
54
55 The `master` branch is stable and **should not receive new features**. Only **bug fixes** are accepted.
56
57 This is the typical workflow to fix a bug in the master branch.
58
59 * Identify a bug that does not require breaking changes of the API/ABI.
60 * Open an issue on github.
61 * Add some label (FIXME which label?).
62 * Assign the issue to yourself.
63 * Create a new branch starting from the `master` branch:
64
65 ```
66 git fetch origin
67 git checkout -b <branch_name> origin/master
68 ```
69
70 * Fix the bug and make one or more commits.
71 * [Push the branch on your fork and create a pull request](https://help.github.com/categories/collaborating-on-projects-using-pull-requests/).
72 * Wait for someone else to review your fix and merge your pull request.
73 * Your fix is now in the `master` branch, now you need to port it to the `devel`
74 branch.
75 * Ensure that your branches are in sync with `origin`:
76
77 ```
78 git checkout master
79 git pull --rebase origin master
80 git checkout devel
81 git pull --rebase origin devel
82 ```
83
84 * Merge master into devel and eventually fix the conflicts.
85
86 ```
87 git merge master
88 ```
89
90 ##### Work in progress PR
91 As final note, in case you need to start a PR but you deem it still **work-in-progress** and don't want anyone to merge it by mistake, do the following:
92 - Put `[WIP]` at the beginning of the PR title.
93 - Mark the PR with the label `"Status: In Progress"`.
94
95 Once you're happy about your work, just remove the `[WIP]` tag as well as the label, and drop a message within the PR to notify the community that reviews are welcome and merging is now possible.
96
97 ### Development branch: `dev`
98
99
100 We use the branch `dev` to collect the ongoing work, which is given in terms of **new features** and **bug fixes**.
101
102 When we introduce a new feature that will cause downstream projects to be aware of such update, we do increase the tweak number (always sticking to _odd numbers_).
103
104 When we decide to publish these new features in a new software release (roughly each _3 months_), we merge the new modifications into `master`, doing:
105
106 ```sh
107 git checkout master
108 git merge --no-ff devel
109 git push origin master
110 ```
111
112