Skip to content

Commit 390b80b

Browse files
committed
chore: Migrate logo assets from S3 to GitHub Pages
1 parent 209585d commit 390b80b

2 files changed

Lines changed: 108 additions & 7 deletions

File tree

CONTRIBUTING.md

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
# Contributing
2+
3+
## Submission guidelines
4+
5+
### Report a bug
6+
7+
Before creating an issue please make sure you have checked out the docs, you might want to also try searching Github. It's pretty likely someone has already asked a similar question.
8+
9+
Issues can be reported in the [issue tracker](https://github.com/kalisio/k-awc/issues).
10+
11+
### Pull Requests
12+
13+
We love pull requests and we're continually working to make it as easy as possible for people to contribute.
14+
15+
We prefer small pull requests with minimal code changes. The smaller they are the easier they are to review and merge. A core team member will pick up your PR and review it as soon as they can. They may ask for changes or reject your pull request. This is not a reflection of you as an engineer or a person. Please accept feedback graciously as we will also try to be sensitive when providing it.
16+
17+
Although we generally accept many PRs they can be rejected for many reasons. We will be as transparent as possible but it may simply be that you do not have the same context or information regarding the roadmap that the core team members have. We value the time you take to put together any contributions so we pledge to always be respectful of that time and will try to be as open as possible so that you don't waste it.
18+
19+
## Commit message guidelines
20+
21+
We follow the [Conventional commits specifications](https://www.conventionalcommits.org/en/v1.0.0-beta.3/) which provides a set of rules to make commit messages more readable when looking through the project history. But also, we use the git commit messages to generate the change log.
22+
23+
### Commit message format
24+
25+
The commit message should be structured as follows:
26+
27+
```
28+
<type>: <subject> [optional `breaking`]
29+
```
30+
31+
Where `type` must be one of the following:
32+
* `build`: changes that affect the build system (external dependencies)
33+
* `ci`: changes to our CI configuration files and scripts
34+
* `chore`: changes that affect the project structure
35+
* `docs`: changes that affect the documentation only
36+
* `feat`: a new feature
37+
* `fix`: a bug fix
38+
* `perf`: a code change that improves performance
39+
* `refactor`: a code change that neither fixes a bug nor adds a feature
40+
* `revert`: revert changes
41+
* `style`: changes that do not affect the meaning of the code (lint issues)
42+
* `test`: adding missing tests or correcting existing tests
43+
44+
Use the optional `[ breaking ]` keyword to declare a **BREAKING CHANGE**.
45+
46+
### Examples
47+
48+
* Commit message with description and breaking change in body
49+
```
50+
feat: allow provided config object to extend other configs [ breaking ]
51+
```
52+
53+
* Commit message with no body
54+
```
55+
docs: correct spelling in the contributing.md file
56+
```
57+
58+
* Commit message for a fix using an issue number.
59+
```
60+
fix: fix minor issue in code (#12)
61+
```
62+
63+
## Versioning guidelines
64+
65+
We rely on [Semantic Versioning](https://semver.org/) for versioning a release. Indeed, given a version number `MAJOR.MINOR.PATCH`, increment the:
66+
* `MAJOR` version when you make a major evolution leading to breaking changes,
67+
* `MINOR` version when you add functionality in a backwards-compatible manner
68+
* `PATCH` version when you make backwards-compatible bug fixes.
69+
70+
The command `npm run release:<type>`, where `<type>` is either `patch`, `minor` or `major`, helps you to do the release.
71+
72+
It performs the following task for you:
73+
* increase the package version number in the `package.json` file
74+
* generate the change log
75+
* create a tag accordingly in the git repository and push it
76+
77+
## Contributor Code of Conduct
78+
79+
As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
80+
81+
We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, or religion.
82+
83+
Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
84+
85+
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
86+
87+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
88+
89+
This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)

README.md

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ This job relies on:
1717
- [tippecanoe](https://github.com/felt/tippecanoe) to generate MBTiles,
1818
- [turfjs](https://turfjs.org/) to compute the position of toponyms.
1919

20-
> [!IMPORTANT]
21-
> osmium, ogr, mapshaper and tippecanoe command-line tools must be installed on your system.
20+
> [!IMPORTANT]
21+
> osmium, ogr, mapshaper and tippecanoe command-line tools must be installed on your system.
2222
2323
To setup the regions to process, you must export the environment variables `REGIONS` with the [GeoFabrik](https://download.geofabrik.de/) regions. For instance:
2424
```bash
@@ -58,7 +58,7 @@ Then, launch the `osm-planet-boundaries` job for level 2, which uses a planet ex
5858

5959
Last but not least, launch the `generate-osm-boundaries-mbtiles.sh` script to generate a MBTiles file from GeoJson files produced by the job or `generate-osm-boundaries-gpkg.sh` script to generate a GPKG file.
6060

61-
> [!IMPORTANT]
61+
> [!IMPORTANT]
6262
> GPKG generation requires the `ogrmerge` tool to be installed, if you are using an unstable debian version you can do this, which is not [recommanded](https://wiki.debian.org/DontBreakDebian#Don.27t_make_a_FrankenDebian) for a stable version:
6363
```bash
6464
sudo nano /etc/apt/sources.list
@@ -120,8 +120,8 @@ BDTOPAGE contains hydrographic data for the french territory and includes the fo
120120
- Elementary surfaces
121121
- Hydrographic sections
122122
- Hydrographic nodes
123-
- Land-sea boundaries
124-
- Hydrographic basins (medium scale)
123+
- Land-sea boundaries
124+
- Hydrographic basins (medium scale)
125125
- Topographic watershed (medium scale)
126126

127127

@@ -138,12 +138,12 @@ krawler --jobfile ../k-atlas/jobfile-bdtopage.js
138138

139139
bash script to generate mbtiles from bdtopage data:
140140
```bash
141-
./generate-bdtopage-mbtiles.sh <output_dir> <geojson_file> <layer_name(optional)>
141+
./generate-bdtopage-mbtiles.sh <output_dir> <geojson_file> <layer_name(optional)>
142142
```
143143

144144
Two directories will be created :
145145
- `bdtopage-output/geojson/` containing one geojson file per layer
146-
- `bdtopage-output/mbtiles/` containing one mbtiles file per layer
146+
- `bdtopage-output/mbtiles/` containing one mbtiles file per layer
147147
- `bdtopage-output/shapefiles/` containing the original shapefiles unzipped
148148
- `bdtopage-workdir/` temporary working directory
149149

@@ -156,3 +156,15 @@ To run it on the infrastructure we use Docker images based on the provided Docke
156156
docker build --build-arg KRAWLER_TAG=latest -f dockerfile.bdpr -t k-atlas/bdpr-latest .
157157
docker run --name bdpr --network=host --rm -e S3_ACCESS_KEY -e S3_SECRET_ACCESS_KEY -e S3_ENDPOINT -e S3_BUCKET -e "DEBUG=krawler*" k-atlas:bdpr-latest
158158
```
159+
160+
## Contributing
161+
162+
Please refer to [contribution section](./CONTRIBUTING.md) for more details.
163+
164+
## License
165+
166+
Licensed under the [MIT license](LICENSE).
167+
168+
Copyright (c) 2017-20xx [Kalisio](https://kalisio.com)
169+
170+
[![Kalisio](https://kalisio.github.io/kalisioscope/kalisio/kalisio-logo-black-256x84.png)](https://kalisio.com)

0 commit comments

Comments
 (0)