Skip to content
Snippets Groups Projects
README.md 1012 B
Newer Older
Pierre Augier's avatar
Pierre Augier committed
# hg-fluiddyn, a small Mercurial extension for the FluidDyn project

## Installation

With Mercurial installed with
[conda-app](https://foss.heptapod.net/fluiddyn/conda-app), run:

```bash
conda activate _env_mercurial
pip install hg-fluiddyn
```

Pierre Augier's avatar
Pierre Augier committed
## What we would like to provide
Pierre Augier's avatar
Pierre Augier committed

- [x] check that the topic, evolve and rebase extensions are activated,
Pierre Augier's avatar
Pierre Augier committed

Pierre Augier's avatar
Pierre Augier committed
- [x] check paths for FluidDyn packages and automatically modify them if
needed,
Pierre Augier's avatar
Pierre Augier committed

Pierre Augier's avatar
Pierre Augier committed
  - `default = ssh://hg@foss.heptapod.net/fluiddyn/fluid???`
Pierre Augier's avatar
Pierre Augier committed

- [x] for maintainers:
Pierre Augier's avatar
Pierre Augier committed

  - [x] check that hg-git is activated,
Pierre Augier's avatar
Pierre Augier committed

- [x] black pre-commit hook (better with Python >= 3.6) applying `black -l 82`
  to modified Python files,

- [x] commands similar to fluiddevops

  - [x] fluiddyn-clone-repositories
  - [x] fluiddyn-pull-update-default
Pierre Augier's avatar
Pierre Augier committed

(See https://www.mercurial-scm.org/wiki/WritingExtensions and
https://www.mercurial-scm.org/wiki/MercurialApi)
Pierre Augier's avatar
Pierre Augier committed

## Example of configuration for this extension (in `~/.hgrc`)

```raw

[fluiddyn]
root = ~/Dev
maintainer = 1

```