2022-02-16 00:53:01 -05:00
|
|
|
---
|
|
|
|
title: >-
|
|
|
|
README
|
|
|
|
---
|
2023-09-18 23:13:07 -04:00
|
|
|
|
2022-02-16 00:53:01 -05:00
|
|
|
[pre alpha documentation (mostly a wish list)](docs/index.htm)
|
|
|
|
|
|
|
|
[copyright © and license](./license.txt)
|
|
|
|
|
|
|
|
pre-requisite, Pandoc to build the html documentation from the markdown files.
|
|
|
|
|
|
|
|
Windows pre-requisites: Visual Studio and git-bash
|
|
|
|
|
2022-06-10 07:49:37 -04:00
|
|
|
To obtain the source code from which the project can be built,
|
2022-06-19 19:17:52 -04:00
|
|
|
including this README.html, from the bash command line (git-bash in windows).
|
2022-02-16 00:53:01 -05:00
|
|
|
|
2022-06-19 19:17:52 -04:00
|
|
|
```bash
|
2022-05-11 15:54:50 -04:00
|
|
|
git clone --recurse-submodules missing url
|
2022-02-16 00:53:01 -05:00
|
|
|
```
|
|
|
|
|
2022-06-19 19:17:52 -04:00
|
|
|
To build the docs, you need pandoc on the path.
|
|
|
|
|
|
|
|
```bash2
|
|
|
|
cd wallet/docs
|
|
|
|
./mkdocs.sh
|
|
|
|
```
|
|
|
|
|
2022-02-16 00:53:01 -05:00
|
|
|
To configure and build the required third party libraries in windows, then
|
2022-06-19 19:17:52 -04:00
|
|
|
build the program and run unit test for the first time, you need to have
|
|
|
|
Visual studio build tools at their default location)
|
2022-02-16 00:53:01 -05:00
|
|
|
|
2022-06-19 19:17:52 -04:00
|
|
|
```bash2
|
|
|
|
cd wallet
|
|
|
|
./winConfigure.bat
|
2022-02-16 00:53:01 -05:00
|
|
|
```
|
|
|
|
|
2022-06-19 19:17:52 -04:00
|
|
|
Or, if you are in the command shell or power shell,
|
2022-05-11 16:39:45 -04:00
|
|
|
|
|
|
|
```bat
|
2022-06-10 07:49:37 -04:00
|
|
|
.\winConfigure.bat
|
2022-02-16 00:53:01 -05:00
|
|
|
```
|
|
|
|
|
2022-06-19 19:17:52 -04:00
|
|
|
After a pull from remote in which the submodules have changed, the pull
|
|
|
|
fails to automatically update the submodules by default, and when you
|
|
|
|
switch or checkout branches, the switch fails to automatically switch
|
|
|
|
and checkout the brances.
|
2022-06-10 07:49:37 -04:00
|
|
|
|
2022-06-19 19:17:52 -04:00
|
|
|
After a pull that gives you a status of modified submodules.
|
2022-05-11 16:39:45 -04:00
|
|
|
|
2022-06-19 19:17:52 -04:00
|
|
|
```bash
|
|
|
|
git submodule update --init --recursive --remote
|
2022-05-11 16:39:45 -04:00
|
|
|
```
|
2022-05-11 15:54:50 -04:00
|
|
|
|
2022-06-19 19:17:52 -04:00
|
|
|
After a checkout or branch switch that gives you a status of modified submodules.
|
2022-05-23 00:05:10 -04:00
|
|
|
|
2022-06-19 19:17:52 -04:00
|
|
|
```bash
|
|
|
|
git submodule update --recursive
|
2022-05-11 16:39:45 -04:00
|
|
|
```
|
2022-05-11 15:54:50 -04:00
|
|
|
|
2022-06-19 19:17:52 -04:00
|
|
|
The documentation is in pandoc flavored markdown, which is
|
|
|
|
conveniently edited in vscode with the `markdown lint` and `Pandoc`
|
|
|
|
extensions included and, if you have launched `code` in the docs directory,
|
|
|
|
with `file/preferences/Extensions/Markdown/Styles` set to
|
|
|
|
`pandoc_templates\\style.css`, that being the style used by the `mkdocs.sh` documentation build script.
|
|
|
|
|
|
|
|
On Windows, if Git Bash and Pandoc has been installed, you should be
|
|
|
|
able to run this shell file in bash by double clicking on it.
|
2022-05-23 00:05:10 -04:00
|
|
|
|
2022-06-19 19:17:52 -04:00
|
|
|
if you add the recommended repository configuration defaults to your local repository configuration
|
|
|
|
|
|
|
|
```bash
|
|
|
|
git config --local include.path ../.gitconfig
|
|
|
|
```
|
|
|
|
|
|
|
|
this will substantially mitigate the problem of submodules failing to
|
|
|
|
update in pushes, pulls, checkouts, and switches.
|
2022-05-23 00:05:10 -04:00
|
|
|
|
2022-07-25 05:04:34 -04:00
|
|
|
[cryptographic software is under attack]:./docs/setup/contributor_code_of_conduct.html#code-will-be-cryptographically-signed
|
2022-02-16 00:53:01 -05:00
|
|
|
"Contributor Code of Conduct"
|
|
|
|
{target="_blank"}
|
|
|
|
|
2024-02-25 20:05:46 -05:00
|
|
|
It will, however, also implement signed commits, and insist you have set up a key pair as
|
|
|
|
explained in the contributor code of conduct because [cryptographic software is under attack] from NSA
|
2022-05-23 00:05:10 -04:00
|
|
|
entryists and shills, who seek to introduce backdoors.
|
2022-02-16 00:53:01 -05:00
|
|
|
|
2024-02-25 20:05:46 -05:00
|
|
|
`.gitconfig` also adds several git aliases:
|
2022-06-15 03:14:32 -04:00
|
|
|
|
2024-02-25 20:05:46 -05:00
|
|
|
1. `git lg` to display the git log with committer name from `.gitsigners` that corresponds to the public key
|
|
|
|
1. `git graph` to graph the commit tree with the committer name from `.gitsigners` that corresponds to the public key
|
2022-02-16 00:53:01 -05:00
|
|
|
1. `git alias` to display the git aliases.
|
2024-02-25 20:05:46 -05:00
|
|
|
1. `git utcmt` to make a commit without revealing your time zone.
|
2022-05-23 00:05:10 -04:00
|
|
|
|
2022-06-10 07:49:37 -04:00
|
|
|
[Pre alpha release](./RELEASE_NOTES.html), which means it does not yet work even well
|
|
|
|
enough for it to be apparent what it would do if it did work.
|