darcs

Issue 1322 use gitit to manage darcs weekly news

Title use gitit to manage darcs weekly news
Priority wishlist Status resolved
Milestone Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, gwern, kowey, thorkilnaur
Assigned To
Topics Community

Created on 2009-01-17.15:17:02 by kowey, last changed 2009-08-27.14:20:41 by admin.

Files
File name Uploaded Type Edit Remove
xwd-12322147068027.png gwern, 2009-01-17.17:54:41 image/png
xwd-12322147108031.png gwern, 2009-01-17.17:55:55 image/png
xwd-123291078410629.png gwern, 2009-01-25.19:13:40 image/png
xwd-123291083910687.png gwern, 2009-01-25.19:14:29 image/png
xwd-123291268811529.png gwern, 2009-01-25.19:47:30 image/png
xwd-123291280111556.png gwern, 2009-01-25.19:48:28 image/png
Messages
msg7124 (view) Author: kowey Date: 2009-01-17.15:16:58
There's a chance it may even work with our current repository:

  darcs get http://code.haskell.org/darcs/darcs-news

People could use gitit to write the human bits of DWN, and the
DWN editor could clean them up once a week, and run the dwn
scripts to tack on the automated content
msg7125 (view) Author: kowey Date: 2009-01-17.15:28:24
I think some good next actions (for a volunteer) would be to (a) install a local
gitit instance and (b) try to plug our dwn repository into it and (c) later on,
test it out on the web somewhere.

The idea is that people should be able to edit the entries/yyyy-mm-dd pages from
the web.

Thanks to Gwern for his advice on this (and for working on gitit-darcs).  Adding
Jason because I imagine he would be pleased to see that gitit darcs integration
is going somewhere.
msg7126 (view) Author: gwern Date: 2009-01-17.17:54:41
If anyone is curious what an article might look like (but doesn't have filestore
and darcsified gitit handy), I mv'd one dwn to 2008-foo.page, and ran Gitit and
took a screenshot (attached).

The markdown isn't too great, so there isn't any hyperlinking going on, but it
gives you an idea what it looks like.
Attachments
msg7128 (view) Author: kowey Date: 2009-01-17.18:30:23
On Sat, Jan 17, 2009 at 17:54:44 -0000, gwern wrote:
> The markdown isn't too great, so there isn't any hyperlinking going on, but it
> gives you an idea what it looks like.

It's actually trying to be ReStructured Text.  Also, DWN entries
are converted to HTML via pandoc... so I bet there's a couple of
switches one can flip to get the desired effect in gitit
msg7131 (view) Author: gwern Date: 2009-01-17.19:04:46
I just moved one to foo.rst and ran pandoc on it; I see what you mean, the
results certainly do differ.

Testing it out in gitit, it seems .rst isn't treated specially. (Just for kicks,
I tried 'foo.rst.page'; no dice.) So I guess this is another feature request for
Gitit (support .rst as well as the markdown .page?), or a reason for DWN to be
written in markdown rather than RST?
msg7186 (view) Author: gwern Date: 2009-01-25.19:13:40
The release of gitit includes a configuration option to make the default format
either RST or Markdown. I've tried out dwn again. My config looks like:

 Config {
 repository          = Darcs "darcs-news",
 defaultPageType     = RST,
 ... }

(Those are the two fields that need to be set, the rest I kept at the default.)

I also moved one DWN to the .page suffix:

Sun Jan 25 14:10:27 EST 2009  gwern0@gmail.com
  * foo
    move ./entries/2008-08-27 ./entries/2008-08-27.page

Then I fired up Gitit and navigated to it. Attached is a screenshot. Eric, is
that how the RST is supposed to render?
Attachments
msg7189 (view) Author: kowey Date: 2009-01-25.19:34:13
On Sun, Jan 25, 2009 at 19:13:42 -0000, gwern wrote:
> Then I fired up Gitit and navigated to it. Attached is a screenshot. Eric, is
> that how the RST is supposed to render?

It seems to have lost the sub-bullets.

See http://koweycode.blogspot.com/2008/09/darcs-weekly-news-2.html

For what it's worth, I'm using Pandoc as my convertor, so I'm not
particularly worried...
msg7190 (view) Author: gwern Date: 2009-01-25.19:47:30
Well, I'd point out that your link is a different one than what I was taking
screenshots of. :)

Looking at the same issue, there are bullets in the proper place but they're
full bullets and not hollow ones. (See screenshot.) Dunno if this is important.
I'd tend to say it isn't.
Attachments
msg7192 (view) Author: kowey Date: 2009-01-25.21:08:47
On Sun, Jan 25, 2009 at 19:47:33 -0000, gwern wrote:
> Well, I'd point out that your link is a different one than what I was taking
> screenshots of. :)

Hmm, you're right.  I hadn't posted dwn #1 on my blog (and then I
foolishly assumed the underlying RST was similar, which it wasn't)

> Looking at the same issue, there are bullets in the proper place but they're
> full bullets and not hollow ones. (See screenshot.) Dunno if this is important.
> I'd tend to say it isn't.

Not important as far as I can tell
msg7908 (view) Author: kowey Date: 2009-06-10.17:48:25
Marking this as done, now that I've pushed all the DWN patches to the main
darcsit wiki.
History
Date User Action Args
2009-01-17 15:17:02koweycreate
2009-01-17 15:28:31koweysetpriority: wishlist
status: unread -> needs-reproduction
topic: + Community
messages: + msg7125
nosy: + dagit, gwern
2009-01-17 17:54:43gwernsetfiles: + xwd-12322147068027.png
nosy: kowey, dagit, simon, thorkilnaur, gwern, dmitry.kurochkin
messages: + msg7126
2009-01-17 17:55:57gwernsetfiles: + xwd-12322147108031.png
nosy: kowey, dagit, simon, thorkilnaur, gwern, dmitry.kurochkin
2009-01-17 18:30:25koweysetnosy: kowey, dagit, simon, thorkilnaur, gwern, dmitry.kurochkin
messages: + msg7128
2009-01-17 19:04:49gwernsetnosy: kowey, dagit, simon, thorkilnaur, gwern, dmitry.kurochkin
messages: + msg7131
2009-01-25 19:13:42gwernsetfiles: + xwd-123291078410629.png
nosy: kowey, dagit, simon, thorkilnaur, gwern, dmitry.kurochkin
messages: + msg7186
2009-01-25 19:14:32gwernsetfiles: + xwd-123291083910687.png
nosy: kowey, dagit, simon, thorkilnaur, gwern, dmitry.kurochkin
2009-01-25 19:34:15koweysetnosy: kowey, dagit, simon, thorkilnaur, gwern, dmitry.kurochkin
messages: + msg7189
2009-01-25 19:47:33gwernsetfiles: + xwd-123291268811529.png
nosy: kowey, dagit, simon, thorkilnaur, gwern, dmitry.kurochkin
messages: + msg7190
2009-01-25 19:48:30gwernsetfiles: + xwd-123291280111556.png
nosy: kowey, dagit, simon, thorkilnaur, gwern, dmitry.kurochkin
2009-01-25 21:08:49koweysetnosy: kowey, dagit, simon, thorkilnaur, gwern, dmitry.kurochkin
messages: + msg7192
2009-06-10 17:48:27koweysetstatus: needs-reproduction -> resolved
nosy: kowey, dagit, simon, thorkilnaur, gwern, dmitry.kurochkin
messages: + msg7908
2009-08-10 23:53:17adminsetnosy: - dagit
2009-08-25 17:39:30adminsetnosy: + darcs-devel, - simon
2009-08-27 14:20:41adminsetnosy: kowey, darcs-devel, thorkilnaur, gwern, dmitry.kurochkin