1
1
mirror of https://github.com/srid/rib.git synced 2024-11-23 03:42:07 +03:00
Commit Graph

358 Commits

Author SHA1 Message Date
Sridhar Ratnakumar
20208d91ec Add watchIgnore 2020-04-09 21:17:37 -04:00
Sridhar Ratnakumar
a778ff4973 Switch back to FilePath 2020-04-09 20:32:40 -04:00
Sridhar Ratnakumar
1ae6a35d69 Support absolute paths only
Let the user convert relative paths
2020-04-09 20:09:29 -04:00
Sridhar Ratnakumar
3cd4d526c5 Use try for better error message 2020-04-09 19:40:28 -04:00
Sridhar Ratnakumar
69dc96860a
Merge pull request #151 from srid/customize-server-host
Allow specifying (optional) host along with port
2020-04-09 19:32:11 -04:00
Sridhar Ratnakumar
e07258980c Use optparse-applicative's ReadM 2020-04-09 19:31:55 -04:00
Sridhar Ratnakumar
5cb8b2d154 Allow specifying (optional) host along with port 2020-04-09 19:14:00 -04:00
Sridhar Ratnakumar
5ab4a4e07e Refactor ApplicativeDo 2020-04-09 18:27:16 -04:00
Sridhar Ratnakumar
4c3e050217
Create project site based on Zettelkasten (#148)
* Add guide zettelkasten

* Add svg logo

* Try using svg logo

* Move README over to guide

* Revamp Concepts

* Move development to README

* remove TODO

* Change branding
2020-04-08 12:26:23 -04:00
Sridhar Ratnakumar
13e30d875e
Merge pull request #147 from srid/newcli-and-logging
Simplify CLI and implement basic logging
2020-04-07 23:28:40 -04:00
Sridhar Ratnakumar
d641d5879d Misc changes 2020-04-07 23:28:25 -04:00
Sridhar Ratnakumar
b494bf3853 ribSettings -> ribCliConfig, and expose it 2020-04-07 22:59:26 -04:00
Sridhar Ratnakumar
ac843b8a39 Documnt CliConfig 2020-04-07 22:47:13 -04:00
Sridhar Ratnakumar
c3b4276a63 Consolidate RibSettings and CliConfig
And majorly refactor the main function
2020-04-07 22:43:02 -04:00
Sridhar Ratnakumar
fa206252d2 logErr should write to stderr 2020-04-07 22:00:11 -04:00
Sridhar Ratnakumar
9e1a9ad6df Simplify CLI and implement basic logging 2020-04-07 21:56:58 -04:00
Sridhar Ratnakumar
8f1ff48a63 Advance version, post release 2020-04-07 16:01:40 -04:00
Sridhar Ratnakumar
19b1022442
Merge pull request #144 from srid/release-0.8
Release 0.8
2020-04-07 15:56:37 -04:00
Sridhar Ratnakumar
baf57e447a Update README 2020-04-07 13:26:21 -04:00
Sridhar Ratnakumar
13f5ba7a0d Prepare for release 2020-04-07 13:10:07 -04:00
Sridhar Ratnakumar
a5171e75eb
Add OneOff command (#140)
* Buffer stderr as well

* Refactor for posterity

* Log the Generating log inside Action monad

* Add OneOff command for quite running of a Shake command

* Put settings in its own module

* Put verbosity and fullGen in RibSettings

* Refactor to settings construction is decoupled

* OneOff generation should be silent

To address https://github.com/srid/neuron/issues/57
2020-04-06 13:20:48 -04:00
Sridhar Ratnakumar
f068383f86
Remove all package overrides (#139)
* Advance nixpkgs, and eliminate overrides

* Fix dhall version

* Pin mmark-ext
2020-04-02 08:29:24 -04:00
Sridhar Ratnakumar
2b64f56ef1 Ignore .git from fsnotify events
Fixes #138
2020-04-01 14:23:00 -04:00
Sridhar Ratnakumar
575a63882d Upgrade dhall 2020-04-01 14:07:41 -04:00
Sridhar Ratnakumar
bd743fa2e3 Disable clay tests 2020-03-31 23:20:36 -04:00
Sridhar Ratnakumar
9f46c2ddf3
Merge pull request #137 from srid/shake-database-relocation
Put .shake under `ribInputDir`
2020-03-29 10:15:21 -04:00
Sridhar Ratnakumar
5562878dbe Update changelog 2020-03-28 17:53:25 -04:00
Sridhar Ratnakumar
46175a3c31 Keep .shake under the src directory
Ignore fsnotify events on it.
2020-03-28 17:51:17 -04:00
Sridhar Ratnakumar
fdc06d0542 Do event logging outside of fsnotify machinary 2020-03-28 17:34:56 -04:00
Sridhar Ratnakumar
be5754fd63 Refactor fsnotify stuff to its own module 2020-03-28 17:29:20 -04:00
Sridhar Ratnakumar
f6cbc12af2
Merge pull request #135 from srid/allow-directory-listing
Allow directory listing in the HTTP server
2020-03-28 10:21:11 -04:00
Sridhar Ratnakumar
6ba865b4b9 Allow directory listing in the HTTP server
Rib's server is meant to be run internally anyway.
2020-03-27 19:35:31 -04:00
Sridhar Ratnakumar
8477880afd
Merge pull request #134 from srid/require-rel-dir
Go back to relative paths
2020-03-26 17:30:52 -04:00
Sridhar Ratnakumar
04d95fda9b runWith: require Rel directories
Accepting absolute directories lead to unnecessary complexities, due to
limitations with the path library.

Also fix broken relative directory conversion in event logging.
2020-03-26 17:25:37 -04:00
Sridhar Ratnakumar
5a55ccf771 Merge branch 'kalhauge-master' -- Fix debouncing 2020-03-26 14:28:01 -04:00
Sridhar Ratnakumar
7c6fa5385b Update change log 2020-03-26 14:27:38 -04:00
Sridhar Ratnakumar
9b00a89525 Make event filepath relative to srcdir, and tweak logging 2020-03-26 14:27:04 -04:00
Sridhar Ratnakumar
a6466e2907 Run ormolu 2020-03-26 14:15:39 -04:00
Christian Gram Kalhauge
f2b4e22bc2 Fix debouncing
This commit contains two changes:

1.  It introduces a 100 ms delay for running the shake build

2.  It logs the events of the changes files to file. This is
  hugely important to find where unknown updates comes from
2020-03-26 17:56:25 +01:00
Sridhar Ratnakumar
d4f1bedb92
Merge pull request #129 from srid/runtime-deps
Allow specifying runtime dependencies
2020-03-25 09:54:42 -04:00
Sridhar Ratnakumar
79f05ab318 Document the limitation of additional-packages 2020-03-25 09:39:56 -04:00
Sridhar Ratnakumar
1bf1d55dc5 Add overrides arguments to default.nix
Fixes #100
2020-03-25 09:37:00 -04:00
Sridhar Ratnakumar
40c8f8d06e Allow specifying runtime dependencies 2020-03-24 18:03:42 -04:00
Sridhar Ratnakumar
43760b5acd
Merge pull request #127 from srid/loopback
Run HTTP server at 127.0.0.1
2020-03-22 11:48:21 -04:00
Sridhar Ratnakumar
869125bd4f Also log the http root 2020-03-22 11:45:21 -04:00
Sridhar Ratnakumar
7e324b9777 Display hostname in the log 2020-03-22 11:39:29 -04:00
Sridhar Ratnakumar
65ff0343f4 Bind to loopback addr for security 2020-03-22 11:29:45 -04:00
Sridhar Ratnakumar
638bd660b5 Refactor to take Warp settings 2020-03-22 11:28:05 -04:00
Sridhar Ratnakumar
1cda38804a
Merge pull request #126 from srid/absolute-dir
Accept absolute directories as input and output
2020-03-19 14:32:17 -04:00
Sridhar Ratnakumar
68b14dba90
Add neuron.srid.ca to examples 2020-03-19 14:31:44 -04:00