Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 609510 - net-misc/rclone - rsync for cloud storage
Summary: net-misc/rclone - rsync for cloud storage
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Jason Zaman
URL:
Whiteboard:
Keywords:
: 615968 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-02-16 10:49 UTC by Jack Coulter
Modified: 2023-11-12 23:13 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
rclone-1.35.ebuild (rclone-1.35.ebuild,953 bytes, text/plain)
2017-02-16 10:49 UTC, Jack Coulter
Details
Manifest (Manifest,1.10 KB, text/plain)
2017-02-16 10:50 UTC, Jack Coulter
Details
metadata.xml (metadata.xml,363 bytes, text/xml)
2017-02-16 10:50 UTC, Jack Coulter
Details
rclone-1.35.ebuild (rclone-1.35.ebuild,1.38 KB, text/plain)
2017-02-17 09:08 UTC, Jack Coulter
Details
Manifest (Manifest,1.47 KB, text/plain)
2017-02-17 09:08 UTC, Jack Coulter
Details
rclone-9999.ebuild (rclone-9999.ebuild,1.38 KB, text/plain)
2017-02-17 09:09 UTC, Jack Coulter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jack Coulter 2017-02-16 10:49:29 UTC
Created attachment 463930 [details]
rclone-1.35.ebuild

Hi,

Attached is an ebuild I've put together for rclone (http://rclone.org). This is my first ebuild for a Go-based project, so I suspect there'll be some back and forth to get this into a shape fit for merging.

While the project is Go based, upstream provides a Makefile for building & testing, which I've reused, rather than re-implementing its contents directly in the ebuild - please let me know if this is not the right approach.



Cheers,
Jack
Comment 1 Jack Coulter 2017-02-16 10:50:11 UTC
Created attachment 463932 [details]
Manifest
Comment 2 Jack Coulter 2017-02-16 10:50:37 UTC
Created attachment 463934 [details]
metadata.xml
Comment 3 Michael Palimaka (kensington) gentoo-dev 2017-02-16 11:42:35 UTC
Are you interested in maintaining this package at all?

https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers
Comment 4 Jack Coulter 2017-02-17 01:58:35 UTC
Sure, I'm happy to maintain this package.

Regarding the ebuild itself, are there any glaring issues with it? I've not packaged anything Go-based before, so I'm not sure on what best practices are in this regard.

In any case, I'll update the ebuild when I have some time tonight do also have a -9999 version to build from latest git, as well as the fixed 1.35 snapshot.
Comment 5 Jack Coulter 2017-02-17 09:08:14 UTC
Created attachment 464080 [details]
rclone-1.35.ebuild
Comment 6 Jack Coulter 2017-02-17 09:08:40 UTC
Created attachment 464082 [details]
Manifest
Comment 7 Jack Coulter 2017-02-17 09:09:08 UTC
Created attachment 464084 [details]
rclone-9999.ebuild
Comment 8 Jack Coulter 2017-02-17 09:12:16 UTC
Amended the ebuild so it works for both versioned snapshots & git. I had to do the same GOROOT workaround as in dev-go/go-net, otherwise src_compile fails when go tries to install dependencies under the golang.org/foo/bar namespace.
Comment 9 Jason Zaman gentoo-dev 2017-05-26 17:45:20 UTC
*** Bug 615968 has been marked as a duplicate of this bug. ***
Comment 10 Jason Zaman gentoo-dev 2017-05-26 19:36:42 UTC
commit 7edde5465da4ee83092bed63e95f8bd29f133550
Author: Jason Zaman <perfinion@g.o>
Date:   Sat May 27 03:31:49 2017

    net-misc/rclone: New package
    
    Ebuild from Jack Coulter and Chris Pritchard
    
    Gentoo-Bug: https://bugs.gentoo.org/609510
    
    Package-Manager: Portage-2.3.5, Repoman-2.3.1

Thanks guys! I combined bits from both but mostly used the shorter one.
Do either of you still want to proxy-maintain it? I put myself as maintainer for now but am more than willing to let you guys take care of it if you use it.