contributegit-annexhttp://git-annex.branchable.com/contribute/git-annexikiwiki2022-07-27T23:29:53ZGHC HEAD warningshttp://git-annex.branchable.com/contribute/comment_1_c61530e14bdbd7c5ec8b0137c0da92f8/ggreif2016-05-27T14:21:11Z2016-05-27T14:21:11Z
<p>I have a patch:</p>
<p>https://github.com/ggreif/git-annex/tree/patch-1</p>
<p>It heals e.g.</p>
<pre><code>Assistant/WebApp/Form.hs:52:1: warning: [-Wredundant-constraints]
? Redundant constraint: Monad m
? In the type signature for:
withNote :: (Monad m, ToWidget (HandlerSite m) a) =>
Field m v -> a -> Field m v
</code></pre>
comment 2http://git-annex.branchable.com/contribute/comment_2_637b05cfd48d2e337c3192989356d183/joey2016-05-27T16:12:25Z2016-05-27T15:45:49Z
<p>Please open <a href="http://git-annex.branchable.com/todo/">todo</a> items for patches, don't send them as comments here.</p>
<p>(I suspect that the patch as provided might break compilation with old
versions of ghc, or old versions of yesod..)</p>
Editing Comments?http://git-annex.branchable.com/contribute/comment_3_e7219514f52207fcfb97aeec03241e8d/Dan2022-07-27T23:29:53Z2020-02-14T01:22:46Z
<p>Is it possible to edit comments on the branchable wiki? I realized there was a sentence I failed to finish when posting <a href="https://git-annex.branchable.com/todo/sync_--branches__to_sync_only_specified_branches___40__e.g._git-annex__41__/#comment-19feab1afb2e0b33315a8368a7cdebf7">this comment</a> and I'd love to go back and finish the thought. The "Edit" button at the top of the page lets me edit the content of the page, but not any of the comments.</p>
<p>I tried cloning the wiki, editing the file corresponding to my comment, and then pushing, but the push was rejected (the changes were in doc tree so I expected it to be accepted, but perhaps comments are more locked down).</p>
<p>Update: It seems I am able to edit comments by cloning the wiki, editing (comments are located in a folder with the same name as the associated page), committing, and then pushing. Yay!</p>
@Danhttp://git-annex.branchable.com/contribute/comment_4_21a75c774757f27911a9249f9b42368d/joey2020-06-17T01:18:32Z2020-02-17T17:05:03Z
<p>That might be an ikiwiki issue, because you're supposed to be able to git
push any change that a user could make on the web, and I think anyone can
delete a comment and then make a new comment in its place. Probably
two pushes would work ... or just copy and then delete the comment and paste
into a new comment.</p>
Thankshttp://git-annex.branchable.com/contribute/comment_5_c5f7f809da5829f4c259d0a630f0f722/Dan2020-06-17T01:18:32Z2020-02-17T17:52:20Z
Got it! In this case, since the <a href="https://git-annex.branchable.com/todo/sync_--branches__to_sync_only_specified_branches___40__e.g._git-annex__41__/#comment-a232b074bb04a942903468cf0d7a13b1">conversation</a> has now moved on, I'll just complete my thought in reply to your most recent comment, but I'll use the workflow you suggested in the future if I need to edit a comment.
push doc-only changeshttp://git-annex.branchable.com/contribute/comment_6_7b53ed13f455879a7462d74571283063/mzimann2020-06-18T15:54:49Z2020-06-18T15:54:49Z
<p>First of all I just want to say that I'm really impressed by git-annex. I was
looking for such a tool for a long time and I'm really happy that I finally
found it. It really does the trick for me to handle all my data.</p>
<p>My problem is now that I wanted to push some changes to doc/, this page says
that it shouldn't be a problem even without authentication. But I get following
error:</p>
<pre><code>Enumerating objects: 7, done.
Counting objects: 100% (7/7), done.
Delta compression using up to 8 threads
Compressing objects: 100% (4/4), done.
Writing objects: 100% (4/4), 460 bytes | 460.00 KiB/s, done.
Total 4 (delta 3), reused 0 (delta 0), pack-reused 0
remote: error: cannot lock ref 'HEAD': Unable to create '/home/b-git-annex/source.git/./HEAD.lock': Permission denied
To git://git-annex.branchable.com/
! [remote rejected] master -> master (failed to update ref)
error: failed to push some refs to 'git://git-annex.branchable.com/'
</code></pre>
<p>Seems to me that I'm not permitted, or am I doing something wrong? Or is the
information on this page not up-to-date anymore?</p>
Re: push doc-only changeshttp://git-annex.branchable.com/contribute/comment_7_a721a4abf10ae3a1e591f81b9069387f/joey2020-06-30T15:17:51Z2020-06-30T15:02:20Z
<p>Turns out that anonymous git push had been broken for some time.</p>
<p>I've fixed the permissions problem, but I'm not entirely sure what caused
it in the first place, so not positive my fix will last.</p>
Re: push doc-only changeshttp://git-annex.branchable.com/contribute/comment_8_1b6c02d7ca6a36e4b1ce2bc52570c7fb/kyle2021-03-22T18:58:31Z2021-03-22T18:58:31Z
<blockquote><p>I've fixed the permissions problem, but I'm not entirely sure what caused
it in the first place, so not positive my fix will last.</p></blockquote>
<p>I tried to push a doc/ change today and saw the same error, so it
looks like the issue has resurfaced.</p>
comment 9http://git-annex.branchable.com/contribute/comment_9_62f827dd014481f41d77f4afec0b1de2/joey2021-03-22T19:20:44Z2021-03-22T19:11:46Z
<p>Kyle, this is being discussed at <a href="http://ikiwiki.info/bugs/anonymous_git_push_broken_again/">http://ikiwiki.info/bugs/anonymous_git_push_broken_again/</a>
but unfortunately I don't think it's the same problem and am becoming
doubtful I can keep whack-a-moleing this particular problem source.</p>
comment 10http://git-annex.branchable.com/contribute/comment_10_0b07e1baa5e89ba24f66c077719985e9/joey2021-03-29T17:58:50Z2021-03-29T17:38:41Z
<p>I have, at least temporarily, fixed the ACL breakage that was causing this
anonymous push problem. I say temporarily because apparently a chmod messed
up the existing ACLs and so it seems ACLs are pretty fragile.</p>