guix-devel
[Top][All Lists]
Advanced

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

[PATCH] draft addition of github updater


From: Ben Woodcroft
Subject: [PATCH] draft addition of github updater
Date: Sun, 15 Nov 2015 10:32:40 +1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

Hi,

Importing from GitHub seems very non-trivial, but can we update? There's a number of issues with the attached patch but so far out of the 171 github package in guix, it recognizes 101, and 17 are detected as out of date (see below).

I have two questions:

1. Some guess-work is required to get between the version as it is defined in guix, and that presented in the github json, where only the "tag_name" is available. Is it OK to be a little speculative in this conversion e.g. "v1.0" => "1.0"?

2. For mass-updates, it fails when it hits the abuse limit on github (60 api requests per hour). This can be overcome by authenticating with an access token, but I don't think that token should go in the git repository. So I'm after some guidance on the best way of the user providing a token to the updater (or some other workaround).

Thanks,
ben

gnu/packages/xml.scm:378:13: pugixml would be upgraded from 1.6 to 1.7
gnu/packages/web.scm:685:6: sassc would be upgraded from 3.2.5 to 3.3.2
gnu/packages/video.scm:693:13: mpv would be upgraded from 0.11.0 to 0.13.0
gnu/packages/ocaml.scm:202:13: camlp4 would be upgraded from 4.02+6 to 4.02.0+1
gnu/packages/ninja.scm:31:13: ninja would be upgraded from 1.5.3 to 1.6.0
gnu/packages/jrnl.scm:30:13: jrnl would be upgraded from 1.8.4 to 1.9.7
gnu/packages/gl.scm:453:13: libepoxy would be upgraded from 1.2 to 1.3.1
gnu/packages/game-development.scm:123:13: tiled would be upgraded from 0.13.1 to 0.14.2 gnu/packages/fontutils.scm:285:13: libuninameslist would be upgraded from 0.4.20140731 to 0.5.20150701 gnu/packages/engineering.scm:58:13: librecad would be upgraded from 2.0.6-rc to 2.0.8 gnu/packages/bioinformatics.scm:1530:13: htsjdk would be upgraded from 1.129 to 1.140 gnu/packages/bioinformatics.scm:613:13: bowtie would be upgraded from 2.2.4 to 2.2.6 gnu/packages/bioinformatics.scm:2925:13: vsearch would be upgraded from 1.4.1 to 1.9.1 gnu/packages/bioinformatics.scm:1360:13: grit would be upgraded from 2.0.2 to 2.0.5beta4 gnu/packages/bioinformatics.scm:758:13: clipper would be upgraded from 0.3.0 to 1.0 gnu/packages/bioinformatics.scm:207:13: bedtools would be upgraded from 2.24.0 to 2.25.0 gnu/packages/bioinformatics.scm:1610:13: idr would be upgraded from 2.0.0 to 2.0.2

Attachment: 0001-import-Add-github-updater.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]