Re: Rclone issue with Google Drive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Patrick O'Callaghan wrote:
> I would if this were a test version of the RPM, but it
> isn't. It's the standard version from the base repo. I may
> file a BZ report.

It looks to me like that upstream doesn't consider anything
but their binaries as official. :(

This might be due in whole or in part to having to register
the app with the API for each supported service, but the
effect appears to be that no one can build from source
without hitting this limitation.

That is unfortunate, though I'm not sure the Fedora packages
can fix it (upstream might not be able to either).

The package could patch `-DEV` out of the Version string in
fs/version.go, though the packages do try to do that via
LDFLAGS (refer to line 144 in the rclone spec file)¹.

I was curious and killing time avoiding real work, so I
built the package with the version file patched instead of
only trying to override it via LDFLAGS, to see if that
reported the version without the -DEV.  It does remove the
'-DEV' suffix:

    $ rclone version
    rclone v1.57.0
    - os/version: fedora 35 (64 bit)
    - os/kernel: 5.15.16-100.fc34.x86_64 (x86_64)
    - os/type: linux
    - os/arch: amd64
    - go/version: go1.16.13
    - go/linking: dynamic
    - go/tags: none

I don't know if that's enough to allow the build to work
without the 7-day limitation, as I don't use rclone.  Please
feel free to give that a try and see if it helps.  It'd be
great if it were that simple.  If so, I can submit the
change to the package maintainer easily enough.

The scratch build and package changes are at:

    https://koji.fedoraproject.org/koji/taskinfo?taskID=82292527
    https://src.fedoraproject.org/fork/tmz/rpms/rclone/c/9ab47be63?branch=fix-version-string-harder

It would be ideal if upstream and downstream packagers could
come to some sort of arrangement to improve the situation.
That presumes upstream would be interested in having builds
which didn't come directly from their site.

¹ https://src.fedoraproject.org/rpms/rclone/blob/045ab834f/f/rclone.spec#_144

-- 
Todd

Attachment: signature.asc
Description: PGP signature

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux