Skip to content

Commit 845b1bc

Browse files
committed
refactor(docs): move from reST to Markdown (#145)
Converts docs from reStructuredText to Markdown so that the changelog file is compatible with Release Please.
1 parent bac8200 commit 845b1bc

25 files changed

Lines changed: 777 additions & 811 deletions

AUTHORS.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Authors
2+
3+
The list of contributors in alphabetical order:
4+
5+
- [Adam Novorolnik](https://github.com/ANovorolnik)
6+
- [Alex Mieth](https://github.com/AlexMieth)
7+
- [Daniel Prelipcean](https://orcid.org/0000-0002-4855-194X)
8+
- [Jan Okraska](https://orcid.org/0000-0002-1416-3244)
9+
- [Jiri Kuncar](https://github.com/jirikuncar)
10+
- [Joud Masoud](https://github.com/joudmas)
11+
- [Parth Shandilya](https://github.com/ParthS007)
12+
- [Tibor Simko](https://orcid.org/0000-0001-7202-5803)

AUTHORS.rst

Lines changed: 0 additions & 13 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,48 @@
11
# Changelog
2+
3+
## 0.4.0 (2024-08-22)
4+
5+
- Adds support for Python 3.11 and 3.12.
6+
- Improves ``get-metadata --output-field`` command by adding a new ``--filter`` option allowing to output only selected field values matching desired criteria.
7+
- Changes container image base to Fedora 38 and slightly optimises image size.
8+
- Drops support for Python 2.7.
9+
10+
## 0.3.0 (2022-03-16)
11+
12+
- Adds support for Python 3.10.
13+
- Improves ``download-files`` command to resume interrupted downloads when
14+
using HTTP downloads with ``pycurl`` engine.
15+
- Improves XRootD downloader by using vanilla XRootD package. Changes
16+
``xrootdpyfs`` to ``xrootd`` download engine.
17+
- Improves ``download-files`` command with a new option ``--download-engine``
18+
to select ``pycurl`` or ``requests`` engines when downloading files over
19+
HTTP.
20+
- Fixes minor issues with file index unwinding and output directory handling.
21+
22+
## 0.2.0 (2020-11-19)
23+
24+
- Adds new ``list-directory`` command to list content of EOS directories
25+
holding open data files.
26+
- Adds support for Python 3.9.
27+
- Improves ``download-files`` command to allow using XRootD protocol.
28+
- Improves ``download-files`` command to allow using HTTPS protocol.
29+
- Improves ``download-files`` command to optionally verify file integrity as
30+
soon as files are being downloaded.
31+
- Improves ``get-file-locations`` command to optionally output file sizes and
32+
checksums.
33+
- Improves output format colouring to better indicate notes and errors.
34+
- Fixes minor issues and improves code coverage.
35+
36+
## 0.1.0 (2020-09-24)
37+
38+
- Enriches ``download-files`` command to optionally download only files
39+
matching certain name, regexp, or range count.
40+
- Adds new ``verify-files`` command to verify number, size, and checksum of
41+
downloaded files.
42+
- Improves ``get-metadata`` command with respect to outputting only
43+
certain desired metadata field values.
44+
- Enriches user documentation.
45+
46+
## 0.0.1 (2020-09-09)
47+
48+
- Initial public release.

CHANGES.rst

Lines changed: 0 additions & 55 deletions
This file was deleted.

CONTRIBUTING.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Contributing
2+
3+
## Issues
4+
5+
Bug reports, issues, feature requests, and other contributions are welcome. If you find
6+
a demonstrable problem that is caused by the `cernopendata-client` code, please:
7+
8+
1. Search for [already reported problems](https://github.com/cernopendata/cernopendata-client/issues).
9+
2. Check if the issue has been fixed or is still reproducible on the
10+
latest `master` branch.
11+
3. Create an issue, ideally with **a test case**.
12+
13+
## Pull requests
14+
15+
If you create a pull request fixing a bug or implementing a feature, you can run
16+
the tests to ensure that everything is operating correctly:
17+
18+
```console
19+
$ ./run-tests.sh
20+
```
21+
22+
Each pull request should preserve or increase code coverage.

MANIFEST.in

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
include *.json
22
include *.md
3-
include *.rst
43
include *.sh
54
include *.yaml
65
include .flake8
@@ -14,5 +13,5 @@ prune docs/_build
1413
recursive-include cernopendata_client *.py
1514
recursive-include docs *.png
1615
recursive-include docs *.py
17-
recursive-include docs *.rst
16+
recursive-include docs *.md
1817
recursive-include tests *.py

README.md

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# cernopendata-client
2+
3+
[![image](https://img.shields.io/pypi/pyversions/cernopendata-client.svg)](https://pypi.org/pypi/cernopendata-client)
4+
[![image](https://github.com/cernopendata/cernopendata-client/workflows/CI/badge.svg)](https://github.com/cernopendata/cernopendata-client/actions)
5+
[![image](https://readthedocs.org/projects/cernopendata-client/badge/?version=latest)](https://cernopendata-client.readthedocs.io/en/latest/?badge=latest)
6+
[![image](https://codecov.io/gh/cernopendata/cernopendata-client/branch/master/graph/badge.svg)](https://codecov.io/gh/cernopendata/cernopendata-client)
7+
[![image](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/cernopendata/opendata.cern.ch?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
8+
[![image](https://img.shields.io/github/license/cernopendata/cernopendata-client.svg)](https://github.com/cernopendata/cernopendata-client/blob/master/LICENSE)
9+
10+
## About
11+
12+
`cernopendata-client` is a command-line tool to facilitate downloading files
13+
from the [CERN Open Data portal](http://opendata.cern.ch/). The tool enables to
14+
query datasets hosted on the CERN Open Data portal and to download and verify
15+
the individual data set files.
16+
17+
## Installation
18+
19+
```console
20+
$ pip install cernopendata-client
21+
```
22+
23+
## Usage
24+
25+
The detailed information on how to install and use `cernopendata-client` can be
26+
found in
27+
[cernopendata-client.readthedocs.io](https://cernopendata-client.readthedocs.io/en/latest/).
28+
29+
## Development
30+
31+
1. Clone the repository:
32+
33+
``` console
34+
$ git clone https://github.com/cernopendata/cernopendata-client
35+
```
36+
37+
2. Setup a [virtual environment](https://docs.python.org/3/library/venv.html):
38+
39+
``` console
40+
$ python3 -m venv env
41+
$ source env/bin/activate
42+
```
43+
44+
3. Install [cernopendata-client]{.title-ref} in [editable
45+
mode](https://setuptools.pypa.io/en/latest/userguide/development_mode.html):
46+
47+
```console
48+
$ pip install -e '.[tests]'
49+
```
50+
51+
## Useful links
52+
53+
- [CERN Open Data portal](http://opendata.cern.ch/)
54+
- [CERN Open Data user forum](https://opendata-forum.cern.ch/)

README.rst

Lines changed: 0 additions & 74 deletions
This file was deleted.

docs/authors.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
```{include} ../AUTHORS.md
2+
```

docs/authors.rst

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)