-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #126 from feelpp/125-fix-rename-script
resolves 125: fix rename script
- Loading branch information
Showing
22 changed files
with
44 additions
and
679 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,31 @@ | ||
:feelpp: Feel++ | ||
:cpp: C++ | ||
:project: feelpp-project | ||
# Feel++ Template Project | ||
Author: Christophe Prud'homme ![GitHub](https://github.com/prudhomm) | ||
Version: v2 | ||
|
||
= {feelpp} Project Template | ||
Christophe Prud'homme <https://github.com/prudhomm[@prudhomm]> | ||
v2: | ||
![CI](https://github.com/feelpp/feelpp-project/workflows/CI/badge.svg) | ||
|
||
image:https://github.com/feelpp/feelpp-project/workflows/CI/badge.svg[CI] | ||
This repository provides a basic starting point for a Feel++ application including: | ||
|
||
This repository provides a basic starting point for a {feelpp} application including: | ||
- [x] Feel++ applications in C++ to use Feel++ and Feel++ toolboxes in `src` | ||
- [x] Documentation using asciidoc and antora | ||
- [x] Python Feel++ notebooks that can be downloaded from the documentation | ||
- [x] Continuous integration including tests for the C++ applications | ||
- [x] Docker image generation for the project | ||
|
||
- [x] {feelpp} applications in {cpp} to use {feelpp} and {feelpp} toolboxes in `src` | ||
- [x] documentation using asciidoc and antora | ||
- [x] python {feelpp} notebooks that can be downloaded from the documentation | ||
- [x] continuous integration including tests for the {cpp} applications | ||
- [x] docker image generation for the project | ||
The documentation for feelpp-project is available [here](https://feelpp.github.io/feelpp-project), and you can build on it for your project by enabling the [github pages](https://docs.github.com/en/pages) for your repository. | ||
|
||
The documentation for feelpp-project is available at link:https://feelpp.github.io/feelpp-project[here] and you can build on it for your project by enabling the link:https://docs.github.com/en/pages[github pages] for your repository. | ||
## Renaming the project | ||
|
||
== Renaming the project | ||
By default, the project is named `feelpp-project` if you cloned the repository `feelpp/feelpp-project`. However, if you used the previous repository as a template, then the project is renamed using the name of the repository using the script `rename.sh` at the initialization of the repository. If the name does not suit you, you can change it again using the script `rename.sh` and providing the new name as an argument. | ||
|
||
By default the project is named `feelpp-project` if you cloned the repository `feelpp/feelpp-project`. | ||
However if you used the previous repository as a template, then the project is renamed using the name of the repository using the script `rename.sh` at the initialization of the repository. | ||
If the name does not suit you, you can change it again using the script `rename.sh` and providing the new name as argument. | ||
> **Warning**: The script `rename.sh` will rename the project. However, some URLs might not be set properly if you rename the project yourself. You need to check the following files: `docs/site.yml` and `docs/package.json` and fix the URLs after the rename process is done. | ||
WARNING: the script `rename.sh` will rename the project however some url might be set properly if you rename the project yourself. You need to check the following files: `docs/site.yml` and `docs/package.json` and fix the urls after the rename process is done. | ||
## Updating the project version | ||
|
||
== Updating the {project} version | ||
The version of the project is defined in the files `CMakeLists.txt`, `docs/antora.yml`, and `docs/package.json`. You need to update with the same version in all files. | ||
|
||
The version of the project is defined in the files `CMakeLists.txt`, `docs/antora.yml` and `docs/package.json`. | ||
You need to update with the same version in all files. | ||
## Release process | ||
|
||
== Release process | ||
|
||
- [x] update the version in CMakeLists.txt | ||
- [x] update the version in docs/antora.yml | ||
- [x] commit the changes with the message "Release vx.y.z". At this point the CI will generate the docker image and push it to docker hub | ||
- [x] Update the version in `CMakeLists.txt` | ||
- [x] Update the version in `docs/antora.yml` | ||
- [x] Commit the changes with the message "Release vx.y.z". At this point, the CI will generate the docker image and push it to Docker Hub. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,8 +5,8 @@ build-backend = "scikit_build_core.build" | |
|
||
[project] | ||
name = "feelpp-project" | ||
version = "3.0.0" | ||
description="Feelpp Template Project" | ||
version = "3.0.1" | ||
description="Feel++ Template Project" | ||
readme = "README.md" | ||
authors = [ | ||
{ name = "Christophe Prud'homme", email = "[email protected]" }, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ build | |
scikit-build >= 0.8.1 | ||
scikit_build_core | ||
pyproject-metadata | ||
ipykernel | ||
numpy | ||
scipy | ||
pandas | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
print(f"Welcome in feelpp_project!") | ||
|
||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ | |
|
||
_laps = { | ||
'laplacian(2,1)': Laplacian2DP1, | ||
'laplacian(2,2)': Laplacian2DP2, | ||
} | ||
|
||
|
||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.