Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatibility with distro versions of git-annex #1

Open
3 of 11 tasks
alpernebbi opened this issue Dec 8, 2016 · 12 comments
Open
3 of 11 tasks

Incompatibility with distro versions of git-annex #1

alpernebbi opened this issue Dec 8, 2016 · 12 comments

Comments

@alpernebbi
Copy link
Owner

alpernebbi commented Dec 8, 2016

Currently, git-annex 6.20160727 (or later) is supported, but this isn't in most of the distro repositories:

The adapter should be made compatible with these versions until they are upgraded by the maintainers.

A short list of things that I rely on and aren't available in these versions:

  • metadata --batch --json (6.20160727)
  • Metadata fields being enclosed in a fields object in JSON output. (6.20160726)
@pigmonkey
Copy link

For what it's worth, I think it is reasonable for you to not support older versions.

I have emailed the Arch maintainer about updating the package. I'll post here if that happens.

@alpernebbi
Copy link
Owner Author

There seem to be several packages in the AUR for git-annex but they appear to be more outdated.

For what it's worth, I think it is reasonable for you to not support older versions.

I can do that if the version is updated in the Arch repo (and if I don't encounter anyone who uses this with Fedora), since Ubuntu and Debian can install it from NeuroDebian.
I had already written code for managing metadata without using the batch mode, so it shouldn't be impossible to put that back in as a fall-back. It would take some time though.

Thanks for contacting the maintainer.

@barthalion
Copy link

The upgrade of git-annex is blocked due to build failure of AWS library with the latest http-conduit. It's been fixed only recently and new release isn't available yet. Once it's out, @felixonmars will surely upgrade it.

@felixonmars
Copy link

felixonmars commented Dec 9, 2016

I have updated aws some days ago, but git-annex itself is still blocked by new http-conduit:
https://git-annex.branchable.com/bugs/Build_with_aws_head_fails/

@pigmonkey
Copy link

Thanks for the clarification! Hopefully @joeyh can provide some insight on that bug.

@alpernebbi
Copy link
Owner Author

I posted a patch on that page, which I believe fixes the problem. I can build it successfully, git-annex test reports all tests passed, but it's my first attempt at Haskell so it might be doing something wrong.

Here is the modified package: git-annex-6.20161118-8-x86_64.pkg.tar.xz.zip. I had to zip it since GitHub apparently doesn't like tar.xz.

@joeyh
Copy link

joeyh commented Dec 10, 2016 via email

@joeyh
Copy link

joeyh commented Dec 10, 2016

Oh, I see, some mangling of " in the patch. Got it to apply cleanly.

@joeyh
Copy link

joeyh commented Dec 10, 2016

I have to apologise for changing the metadata --json format. There were good reasons to do so.

Most non-frozen linux distros are keeping reasonably current, so I hope that the current metadata --json --batch will be available in them soon. I wonder what is keeping Fedora on such an ancient version. Pinged the Fedora maintainer.

@felixonmars
Copy link

Thanks a lot for the patch. The Arch package has been updated to 6.20161118 with this patch:
https://www.archlinux.org/packages/community/x86_64/git-annex/

@alpernebbi
Copy link
Owner Author

I have to apologise for changing the metadata --json format. There were good reasons to do so.

I think that's a good change! (Although I'm still guilty in making file and key correspond to the file path and git-annex key instead of actual fields.)

I wonder what is keeping Fedora on such an ancient version. Pinged the Fedora maintainer.

Thanks! I've also found Bug 1176888 - git-annex-6.20161118 is available which has been automatically complaining for a long time.

Thanks a lot for the patch. The Arch package has been updated to 6.20161118 with this patch:

Looks like @joeyh released git-annex 6.20161210 with my patch in it as well. I hope that doesn't cause a conflict.

@felixonmars
Copy link

Don't worry :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants