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

346 Commits

Author SHA1 Message Date
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
Sridhar Ratnakumar
43950d766e RibSettings should always use Abs path
Keeping this polymorphic is tricky
2020-03-19 12:59:10 -04:00
Sridhar Ratnakumar
6fc7b88bf0 Accept absolute directories as input and output 2020-03-19 12:27:34 -04:00
Sridhar Ratnakumar
b668e2626f Rib.Extra.OpenGraph: add type=website 2020-03-18 12:44:35 -04:00
Sridhar Ratnakumar
729bcd6994 Update README for rib 0.8
Closes #116 (keeping routes)
2020-03-14 19:19:27 -04:00
Sridhar Ratnakumar
29e01ceb5a Mention fix in changelog 2020-03-14 16:24:09 -04:00
Sridhar Ratnakumar
c32f3c5524
Merge pull request #123 from Nimor111/fix-pandoc-metadata-parsing
[#122] Fix pandoc metadata parsing
2020-03-14 16:23:26 -04:00
Nimor111
7a817f3847 [#122] Negate guarded function argument 2020-03-14 22:20:37 +02:00
Sridhar Ratnakumar
e72c632a2a Format using ormolu 2020-03-14 16:14:52 -04:00
Sridhar Ratnakumar
328649836d
Merge pull request #121 from prikhi/ogp-tweaks-article
Tweak OpenGraph Fields, Add OGType ADT
2020-03-14 16:14:01 -04:00
Pavan Rikhi
f92a8096d0
Tweak OpenGraph Fields, Add OGType ADT
Add an _openGraph_url field to the OpenGraph type & make the
_openGraph_author field optional.

Change the _openGraph_type field from a Text value to an ADT. There is
currently only one value for the Article type, alongwith an OGArticle
type for the article sub-fields.
2020-03-14 12:03:25 -04:00
Sridhar Ratnakumar
f603204a44
Merge pull request #120 from srid/first-para
Add `Rib.Parser.MMark.getFirstParagraphText`
2020-03-12 12:31:00 -04:00
Sridhar Ratnakumar
48c0e70b1d Add Rib.Parser.MMark.getFirstParagraphText 2020-03-10 15:10:11 -04:00