Skip to content
This repository was archived by the owner on Mar 13, 2024. It is now read-only.

Commit 80b51b9

Browse files
committed
Wrote docs and initial version of commandline tool
1 parent d1640a2 commit 80b51b9

File tree

20 files changed

+1202
-191
lines changed

20 files changed

+1202
-191
lines changed

CHANGELOG.rst

Lines changed: 3 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,8 @@
11
Changelog
22
=========
33

4-
All notable changes to this project will be documented in this file.
5-
6-
The format is based on `Keep a Changelog <https://keepachangelog.com/en/1.0.0/>`_,
7-
and this project adheres to `Semantic Versioning <https://semver.org/spec/v2.0.0.html>`_.
8-
9-
Note
10-
----
11-
12-
This is a template changelog to be inherited by projects using this skeleton
13-
module. The changelog for the skeleton module is the list of `closed pull requests
4+
The changelog for the skeleton module is the list of `closed pull requests
145
<https://github.com/dls-controls/dls-python3-skeleton/pulls?q=is%3Apr+is%3Aclosed>`_
156

16-
`Unreleased <../../compare/0.2...HEAD>`_
17-
----------------------------------------
18-
19-
Added:
20-
21-
- When you make a change, put it here
22-
23-
24-
`0.2 <../../compare/0.1...0.2>`_ - YYYY-MM-DD
25-
---------------------------------------------
26-
27-
Added:
28-
29-
- `A new feature linking to a github PR <../../pull/21>`_
30-
31-
Changed:
32-
33-
- A change in existing functionality
34-
35-
Deprecated:
36-
37-
- A soon-to-be removed feature
38-
39-
Removed:
40-
41-
- A feature that has now been removed
42-
43-
Fixed:
44-
45-
- A bug fix
46-
47-
Security:
48-
49-
- A vulnerability that has been patched
50-
51-
52-
`0.1 <../../releases/tag/0.1>`_ - YYYY-MM-DD
53-
--------------------------------------------
54-
55-
Initial release
7+
All developments for the ``skeleton`` branch take place via pull requests, and
8+
changes to the commandline tools and docs are not tracked in a changelog.

CONTRIBUTING.rst

Lines changed: 15 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,28 @@
11
Contributing
22
============
33

4-
Contributions and issues are most welcome! All issues and pull requests are
5-
handled through Github_. Also, please check for any existing issues before
6-
filing a new one. If you have a great idea but it involves big changes, please
7-
file a ticket before making a pull request! We want to make sure you don't spend
8-
your time coding something that might not fit the scope of the project.
4+
Contributing to the skeleton repository is different to other repos. There
5+
are two sorts of contributions:
96

10-
.. _Github: https://github.com/dls-controls/dls-python3-skeleton/issues
7+
- Changes to the skeleton structure should be made on a branch, then a
8+
PR_ raised back to the ``skeleton`` branch.
9+
- Changes to the docs or commandline tool should be made directly on master
10+
11+
.. _PR: https://github.com/dls-controls/dls-python3-skeleton/pulls
1112

1213
Running the tests
1314
-----------------
1415

15-
To get the source source code and run the unit tests, run::
16+
Both the ``skeleton`` and ``master`` branch have different tests, but
17+
the process to run them is the same::
1618

1719
$ git clone git://github.com/dls-controls/dls-python3-skeleton.git
1820
$ cd dls-python3-skeleton
1921
$ pipenv install --dev
2022
$ pipenv run tests
2123

22-
While 100% code coverage does not make a library bug-free, it significantly
23-
reduces the number of easily caught bugs! Please make sure coverage remains the
24-
same or is improved by a pull request!
24+
Please note that Pipfile.lock is only committed on ``master``, not on
25+
``skeleton``
2526

2627
Code Styling
2728
------------
@@ -74,27 +75,13 @@ You can build the docs from the project directory by running::
7475
Release Process
7576
---------------
7677

77-
To make a new release, please follow this checklist:
78+
Releases are only made when the commandline tool needs to be released.
79+
When this happens:
7880

7981
- Choose a new PEP440 compliant release number
80-
- Add a release note in CHANGELOG.rst
8182
- Git tag the version
8283
- Push to github and the actions will make a release on pypi
8384
- Push to internal gitlab and do a dls-release.py of the tag
8485

85-
Updating the tools
86-
------------------
87-
88-
This module is merged with the dls-python3-skeleton_. This is a generic
89-
Python project structure which provides a means to keep tools and
90-
techniques in sync between multiple Python projects. To update to the
91-
latest version of the skeleton, run::
92-
93-
$ git pull https://github.com/dls-controls/dls-python3-skeleton
94-
95-
Any merge conflicts will indicate an area where something has changed that
96-
conflicts with the setup of the current module. Check the `closed pull requests
97-
<https://github.com/dls-controls/dls-python3-skeleton/pulls?q=is%3Apr+is%3Aclosed>`_
98-
of the skeleton module for more details.
99-
100-
.. _dls-python3-skeleton: https://dls-controls.github.io/dls-python3-skeleton
86+
Apart from this, ``master`` and ``skeleton`` should always be deployable,
87+
and are considered the latest release.

0 commit comments

Comments
 (0)