<br><br><div class="gmail_quote">On Thu, Dec 3, 2009 at 10:33 AM, Gwern Branwen <span dir="ltr"><<a href="mailto:gwern0@gmail.com">gwern0@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Thu, Dec 3, 2009 at 1:26 PM, Jason Dagit <<a href="mailto:dagit@codersbase.com">dagit@codersbase.com</a>> wrote:<br>
> Hello,<br>
><br>
> Recently I wanted to use the wiki while I was offline. It's great that<br>
> darcsit makes this possible, but I ran into some problem areas. Perhaps<br>
> someone can help me?<br>
><br>
> 1) When I wanted to edit a page locally, the text box that holds the page's<br>
> markup was empty. I opened the corresponding .page file in emacs and pasted<br>
> the contents into the browser window and edited there. This allowed me to<br>
> see previews and just generally use it has a wiki. But why do I have to<br>
> bootstrap the editing process by copying out of the .page file?<br>
<br>
</div>You shouldn't have to. That sounds like a serious bug. Are you using a<br>
up-to-date Gitit, or an odd browser, or something?<br></blockquote><div><br>My gitit is:<br> $ gitit --version<br>gitit version 0.6.6 +plugins<br><br>I installed it yesterday from hackage. The one thing that may have confused gitit is that when I first ran it, I forgot to tell it the config file so it thought it was creating a new wiki. Maybe I should get again and this time start it with the right config file? My browser is firefox 3.x.<br>
<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im"><br>
> 2) Once I had my local edits queued up and I wanted to share them, I<br>
> couldn't figure out how to push them. I (ab)used my patch review account to<br>
> <a href="http://darcs.net" target="_blank">darcs.net</a> to figure out where the wiki's repo is located and tried a push<br>
> but I didn't have permission to modify the wiki repo so the push failed.<br>
> Since I can apply patches from the web interface I don't really see the<br>
> point of sending the patches to darcs-users so I avoided configuring<br>
> sendmail or attaching the patch in my email client. I ended up pasting my<br>
> local version of the page into the <a href="http://darcs.net" target="_blank">darcs.net</a> wiki and hitting submit. Since<br>
> I only had edited one page that was "okay" but suboptimal.<br>
><br>
> How can get push access to the wiki and is there a fix for #1? (maybe I<br>
> should use scp to get a copy of the the wiki instead of darcs get?).<br>
><br>
> Thanks,<br>
> Jason<br>
<br>
</div>IIRC, you can't apply a .dpatch via the Gitit web interface. You can<br>
edit, sure, but editing is deliberately more restricted than patches:<br>
for example, there should be no way to change preferences (such as<br>
hooks...) through the web interface, but this can easily be done in<br>
patches. Since preferences are very dangerous, regular web users have<br>
no access, but more trusted users with push access can do them.<br></blockquote><div><br>Okay, maybe general push permission shouldn't be allowed, but I was hoping I'm trusted enough in the darcs community that I could be given permissions.<br>
<br>Thanks,<br>Jason<br></div></div><br>