mirror of https://github.com/rm-dr/daisy
Compare commits
No commits in common. "27ea64e172822e554f983ca2504d79b5a1ce9831" and "a75f6197cd89e7c31f0115a9ca9e36bd09885af4" have entirely different histories.
27ea64e172
...
a75f6197cd
|
@ -1,4 +1,3 @@
|
|||
/target
|
||||
/src/target
|
||||
/pkg
|
||||
/result
|
||||
/pkg
|
|
@ -1,31 +0,0 @@
|
|||
# Contribution guidelines for Daisy
|
||||
|
||||
|
||||
## Pull requests
|
||||
All PRs should merge to `dev`. See "branching" below.
|
||||
|
||||
|
||||
## Versioning
|
||||
Daisy uses [semantic versioning](https://semver.org/), which looks like `maj.min.patch`. In short:
|
||||
- `maj`: Incremented on large, incompatible changes
|
||||
- `min`: Incremented on new features
|
||||
- `patch`: Incremented on bugfixes
|
||||
|
||||
Whenever one of the above fields is incremented, all sub-fields are reset to zero. When `min` is incremented, `patch` is set to zero.
|
||||
|
||||
|
||||
## Branching
|
||||
Daisy uses a branch model much like the one described [here](https://nvie.com/posts/a-successful-git-branching-model).
|
||||
- `master`: 1 commit = 1 release. This is always a merge comit from `dev`, and is always tagged with a version.
|
||||
- `dev`: main development branch. Never deleted. Most work happens here.
|
||||
- `features`: temporary branches pulled from `dev` and merged to `dev` for larger features.
|
||||
- Always merge with git's `--no-ff` option for a more detailed history.
|
||||
|
||||
|
||||
## Releases
|
||||
What to do
|
||||
- Merge into `master` (`git merge --no-ff dev`)
|
||||
- Tag merge commit on `master` (`git tag -a v1.0.0 -m "Version 1.0.0"`)
|
||||
- `cargo publish`
|
||||
- Update web demo & pull server (`make docker`)
|
||||
- Update aur package
|
19
TODO.md
19
TODO.md
|
@ -1,3 +1,18 @@
|
|||
## Version Bump checklist
|
||||
- update Cargo.toml
|
||||
- run cargo test
|
||||
- commit
|
||||
- push
|
||||
- merge
|
||||
- git tag -a v1.0.0 -m "Version 1.0.0" on merge commit
|
||||
- cargo publish
|
||||
- Build wasm & push changes
|
||||
- Update AUR package
|
||||
|
||||
## Pre-release
|
||||
- Tuple operations
|
||||
- we don't need vectors as arguments to operators
|
||||
|
||||
## Parser
|
||||
- Should functions be operators?
|
||||
- Binary, hex, octal numbers
|
||||
|
@ -10,7 +25,6 @@
|
|||
- Non-recursive treeify
|
||||
- Faster factorial function. Maybe use gamma instead?
|
||||
- Arbitrary precision floats
|
||||
- we don't need vectors as arguments to operators
|
||||
|
||||
## Math Features
|
||||
- Mean, Median, Min
|
||||
|
@ -19,7 +33,6 @@
|
|||
- acot/acoth functions
|
||||
- Sums and products with functional arguments
|
||||
- Add functions: gcd, inverse mod, dice
|
||||
- Tuple operations
|
||||
|
||||
## Prompt
|
||||
- Fix terminal color detection
|
||||
|
@ -33,5 +46,5 @@
|
|||
- long prefixes (megatonne, etc)
|
||||
- HMS for degrees
|
||||
- Exact radians, using pi constant?
|
||||
- Odd units: flops, lumen, lux, bel
|
||||
- Weird units: flops, lumen, lux, bel
|
||||
- Command to list units
|
19
default.nix
19
default.nix
|
@ -1,19 +0,0 @@
|
|||
{ lib, fetchgit, rustPlatform }:
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "daisy";
|
||||
version = "1.1.4";
|
||||
cargoLock.lockFile = src + /Cargo.lock;
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://github.com/rm-dr/daisy.git";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-aENuKtE1+tBRN0HZzRr8Gk+dVEYTiP6FNRz817Sk88o=";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "A pretty command-line scientific calculator";
|
||||
homepage = "https://github.com/rm-dr/daisy";
|
||||
#license = licenses.GPL;
|
||||
maintainers = [ maintainers.tailhook ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue