* [bug#38827] [PATCH] gnu: Add gitlab-runner.
@ 2019-12-31 9:17 Reza Alizadeh Majd
2019-12-31 11:06 ` Mathieu Othacehe
0 siblings, 1 reply; 11+ messages in thread
From: Reza Alizadeh Majd @ 2019-12-31 9:17 UTC (permalink / raw)
To: 38827; +Cc: Reza Alizadeh Majd
* gnu/packages/ci.scm (gitlab-runner): New variable.
---
gnu/packages/ci.scm | 23 ++++++++++++++++++++++-
1 file changed, 22 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/ci.scm b/gnu/packages/ci.scm
index b49ac0f7c1..c9679c9674 100644
--- a/gnu/packages/ci.scm
+++ b/gnu/packages/ci.scm
@@ -5,6 +5,7 @@
;;; Copyright © 2017 Mathieu Othacehe <m.othacehe@gmail.com>
;;; Copyright © 2017, 2019 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2018 Clément Lassieur <clement@lassieur.org>
+;;; Copyright © 2020 Reza Alizadeh Majd <r.majd@pantherx.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -25,6 +26,7 @@
#:use-module ((guix licenses) #:prefix l:)
#:use-module (gnu packages)
#:use-module (guix packages)
+ #:use-module (guix download)
#:use-module (guix git-download)
#:use-module (gnu packages autotools)
#:use-module (gnu packages base)
@@ -44,7 +46,8 @@
#:use-module (gnu packages version-control)
#:use-module (gnu packages web)
#:use-module (gnu packages xml)
- #:use-module (guix build-system gnu))
+ #:use-module (guix build-system gnu)
+ #:use-module (guix build-system go))
(define-public cuirass
(let ((commit "e20ff86d97f7dd92dad140b5919e3cbdf2fb1ce6")
@@ -152,3 +155,21 @@
intended as a replacement for Hydra.")
(home-page "https://www.gnu.org/software/guix/")
(license l:gpl3+))))
+
+(define-public gitlab-runner
+ (package
+ (name "gitlab-runner")
+ (version "12.6.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://gitlab.com/gitlab-org/gitlab-runner/-/archive/v"
+ version "/gitlab-runner-v" version ".tar.gz"))
+ (sha256 (base32 "1gb3mflz57niyyn4kj5l4m1g2sa2w4cn8gig5dfr04ns9w9kj8jr"))))
+ (build-system go-build-system)
+ (arguments '(#:import-path "gitlab.com/gitlab-org/gitlab-runner"))
+ (home-page "https://docs.gitlab.com/runner/")
+ (synopsis "GitLab Runner")
+ (description "GitLab Runner is the open source project that is used
+to run your jobs and send the results back to GitLab.")
+ (license l:expat)))
--
2.23.0
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [bug#38827] [PATCH] gnu: Add gitlab-runner.
2019-12-31 9:17 [bug#38827] [PATCH] gnu: Add gitlab-runner Reza Alizadeh Majd
@ 2019-12-31 11:06 ` Mathieu Othacehe
2019-12-31 13:21 ` Reza Alizadeh Majd
0 siblings, 1 reply; 11+ messages in thread
From: Mathieu Othacehe @ 2019-12-31 11:06 UTC (permalink / raw)
To: 38827; +Cc: r.majd
Hello!
> +;;; Copyright © 2020 Reza Alizadeh Majd <r.majd@pantherx.org>
You are a bit early :)
> +(define-public gitlab-runner
> + (package
> + (name "gitlab-runner")
> + (version "12.6.0")
> + (source
> + (origin
> + (method url-fetch)
> + (uri (string-append "https://gitlab.com/gitlab-org/gitlab-runner/-/archive/v"
> + version "/gitlab-runner-v" version ".tar.gz"))
> + (sha256 (base32 "1gb3mflz57niyyn4kj5l4m1g2sa2w4cn8gig5dfr04ns9w9kj8jr"))))
Those lines are above the column limit.
> + (build-system go-build-system)
> + (arguments '(#:import-path "gitlab.com/gitlab-org/gitlab-runner"))
> + (home-page "https://docs.gitlab.com/runner/")
> + (synopsis "GitLab Runner")
> + (description "GitLab Runner is the open source project that is used
> +to run your jobs and send the results back to GitLab.")
No need to mention it is open source, otherwise, it wouldn't be
here. You could also elaborate a bit.
Could you send an updated version ?
Thanks,
Mathieu
^ permalink raw reply [flat|nested] 11+ messages in thread
* [bug#38827] [PATCH] gnu: Add gitlab-runner.
2019-12-31 11:06 ` Mathieu Othacehe
@ 2019-12-31 13:21 ` Reza Alizadeh Majd
2019-12-31 13:42 ` Mathieu Othacehe
0 siblings, 1 reply; 11+ messages in thread
From: Reza Alizadeh Majd @ 2019-12-31 13:21 UTC (permalink / raw)
To: m.othacehe, 38827
Hi,
>
> Those lines are above the column limit.
>
I checked the package using `guix lint ...` but didn't receive any
warning about the column limit.
>
> No need to mention it is open source, otherwise, it wouldn't be
> here. You could also elaborate a bit.
>
I use projects default document to fill the description field:
https://docs.gitlab.com/runner/
do I need to update description to a custom one?
--
Regards
Reza Alizadeh Majd
PantherX Team
^ permalink raw reply [flat|nested] 11+ messages in thread
* [bug#38827] [PATCH] gnu: Add gitlab-runner.
2019-12-31 13:21 ` Reza Alizadeh Majd
@ 2019-12-31 13:42 ` Mathieu Othacehe
2019-12-31 15:48 ` Reza Alizadeh Majd
0 siblings, 1 reply; 11+ messages in thread
From: Mathieu Othacehe @ 2019-12-31 13:42 UTC (permalink / raw)
To: Reza Alizadeh Majd; +Cc: 38827
> I checked the package using `guix lint ...` but didn't receive any
> warning about the column limit.
Yup, we would need to improve the linter :) This column limit rule is
mentionned here[1].
> I use projects default document to fill the description field:
> https://docs.gitlab.com/runner/
>
> do I need to update description to a custom one?
Yes, sometimes the upstream description is too short, uses superlatives
or so. You'll find some guidelines here[2].
Thanks,
Mathieu
[1]: https://guix.gnu.org/manual/en/html_node/Formatting-Code.html#Formatting-Code
[2]: https://guix.gnu.org/manual/en/html_node/Synopses-and-Descriptions.html#Synopses-and-Descriptions
^ permalink raw reply [flat|nested] 11+ messages in thread
* [bug#38827] [PATCH] gnu: Add gitlab-runner.
2019-12-31 13:42 ` Mathieu Othacehe
@ 2019-12-31 15:48 ` Reza Alizadeh Majd
2019-12-31 16:09 ` Mathieu Othacehe
2019-12-31 16:09 ` bug#38827: " Mathieu Othacehe
0 siblings, 2 replies; 11+ messages in thread
From: Reza Alizadeh Majd @ 2019-12-31 15:48 UTC (permalink / raw)
To: Mathieu Othacehe; +Cc: 38827
[-- Attachment #1: Type: text/plain, Size: 372 bytes --]
Hi,
> [1]:
> https://guix.gnu.org/manual/en/html_node/Formatting-Code.html#Formatting-Code
> [2]:
> https://guix.gnu.org/manual/en/html_node/Synopses-and-Descriptions.html#Synopses-and-Descriptions
I update the package definition following the above guidelines.
could you please check if this updated patch is acceptable?
--
Regards
Reza Alizadeh Majd
PantherX Team
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-gitlab-runner.patch --]
[-- Type: text/x-patch; name="0001-gnu-Add-gitlab-runner.patch", Size: 2378 bytes --]
From 3fd96ceea56d6c16036398a96dd9051ce51afe63 Mon Sep 17 00:00:00 2001
From: Reza Alizadeh Majd <r.majd@pantherx.org>
Date: Tue, 31 Dec 2019 12:37:42 +0330
Subject: [PATCH] gnu: Add gitlab-runner.
* gnu/packages/ci.scm (gitlab-runner): New variable.
---
gnu/packages/ci.scm | 25 ++++++++++++++++++++++++-
1 file changed, 24 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/ci.scm b/gnu/packages/ci.scm
index b49ac0f7c1..0515a62481 100644
--- a/gnu/packages/ci.scm
+++ b/gnu/packages/ci.scm
@@ -5,6 +5,7 @@
;;; Copyright © 2017 Mathieu Othacehe <m.othacehe@gmail.com>
;;; Copyright © 2017, 2019 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2018 Clément Lassieur <clement@lassieur.org>
+;;; Copyright © 2020 Reza Alizadeh Majd <r.majd@pantherx.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -25,6 +26,7 @@
#:use-module ((guix licenses) #:prefix l:)
#:use-module (gnu packages)
#:use-module (guix packages)
+ #:use-module (guix download)
#:use-module (guix git-download)
#:use-module (gnu packages autotools)
#:use-module (gnu packages base)
@@ -44,7 +46,8 @@
#:use-module (gnu packages version-control)
#:use-module (gnu packages web)
#:use-module (gnu packages xml)
- #:use-module (guix build-system gnu))
+ #:use-module (guix build-system gnu)
+ #:use-module (guix build-system go))
(define-public cuirass
(let ((commit "e20ff86d97f7dd92dad140b5919e3cbdf2fb1ce6")
@@ -152,3 +155,23 @@
intended as a replacement for Hydra.")
(home-page "https://www.gnu.org/software/guix/")
(license l:gpl3+))))
+
+(define-public gitlab-runner
+ (package
+ (name "gitlab-runner")
+ (version "12.6.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://gitlab.com/gitlab-org/gitlab-runner/-/archive/v"
+ version "/gitlab-runner-v" version ".tar.gz"))
+ (sha256
+ (base32 "1gb3mflz57niyyn4kj5l4m1g2sa2w4cn8gig5dfr04ns9w9kj8jr"))))
+ (build-system go-build-system)
+ (arguments '(#:import-path "gitlab.com/gitlab-org/gitlab-runner"))
+ (home-page "https://docs.gitlab.com/runner/")
+ (synopsis "GitLab Runner")
+ (description "Gitlab Runner is used to run Gitlab's CI/CD jobs and send
+back the results to Gitlab instance. It is used in conjunction with Gitlab CI.")
+ (license l:expat)))
--
2.24.1
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [bug#38827] [PATCH] gnu: Add gitlab-runner.
2019-12-31 15:48 ` Reza Alizadeh Majd
@ 2019-12-31 16:09 ` Mathieu Othacehe
2019-12-31 23:54 ` Ludovic Courtès
2019-12-31 16:09 ` bug#38827: " Mathieu Othacehe
1 sibling, 1 reply; 11+ messages in thread
From: Mathieu Othacehe @ 2019-12-31 16:09 UTC (permalink / raw)
To: Reza Alizadeh Majd; +Cc: 38827
> I update the package definition following the above guidelines.
> could you please check if this updated patch is acceptable?
I fixed the indentation, added one space between the two description
sentences and pushed.
Thanks for your contribution,
Mathieu
^ permalink raw reply [flat|nested] 11+ messages in thread
* [bug#38827] [PATCH] gnu: Add gitlab-runner.
2019-12-31 16:09 ` Mathieu Othacehe
@ 2019-12-31 23:54 ` Ludovic Courtès
2020-01-01 12:20 ` Efraim Flashner
` (2 more replies)
0 siblings, 3 replies; 11+ messages in thread
From: Ludovic Courtès @ 2019-12-31 23:54 UTC (permalink / raw)
To: Mathieu Othacehe; +Cc: 38827, Reza Alizadeh Majd
Hello!
Mathieu Othacehe <m.othacehe@gmail.com> skribis:
>> I update the package definition following the above guidelines.
>> could you please check if this updated patch is acceptable?
>
> I fixed the indentation, added one space between the two description
> sentences and pushed.
The ‘vendor’ directory contains a large number of bundled dependencies,
including various bits of Docker and Kubernetes. I’m not comfortable
keeping this package as is.
Reza, could you look into unbundling these, or at least a significant
part of these?
There’s a Go importer at
<https://lists.gnu.org/archive/html/guix-devel/2018-04/msg00301.html>,
but it’s for ‘Gopkg.toml’ files, which seem to be out of fashion, so I’m
not sure it’d be useful.
In the meantime, I’d be in favor of reverting the patch. WDYT?
Thanks,
Ludo’.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [bug#38827] [PATCH] gnu: Add gitlab-runner.
2019-12-31 23:54 ` Ludovic Courtès
@ 2020-01-01 12:20 ` Efraim Flashner
2020-01-01 18:58 ` Mathieu Othacehe
2020-01-01 23:22 ` r.majd
2 siblings, 0 replies; 11+ messages in thread
From: Efraim Flashner @ 2020-01-01 12:20 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: 38827, Mathieu Othacehe, Reza Alizadeh Majd
[-- Attachment #1: Type: text/plain, Size: 1280 bytes --]
On Wed, Jan 01, 2020 at 12:54:37AM +0100, Ludovic Courtès wrote:
> Hello!
>
> Mathieu Othacehe <m.othacehe@gmail.com> skribis:
>
> >> I update the package definition following the above guidelines.
> >> could you please check if this updated patch is acceptable?
> >
> > I fixed the indentation, added one space between the two description
> > sentences and pushed.
>
> The ‘vendor’ directory contains a large number of bundled dependencies,
> including various bits of Docker and Kubernetes. I’m not comfortable
> keeping this package as is.
>
> Reza, could you look into unbundling these, or at least a significant
> part of these?
>
> There’s a Go importer at
> <https://lists.gnu.org/archive/html/guix-devel/2018-04/msg00301.html>,
> but it’s for ‘Gopkg.toml’ files, which seem to be out of fashion, so I’m
> not sure it’d be useful.
>
> In the meantime, I’d be in favor of reverting the patch. WDYT?
>
Unfortunately I'm in agreement. I personally would keep in in a channel
until it's been de-vendored.
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* [bug#38827] [PATCH] gnu: Add gitlab-runner.
2019-12-31 23:54 ` Ludovic Courtès
2020-01-01 12:20 ` Efraim Flashner
@ 2020-01-01 18:58 ` Mathieu Othacehe
2020-01-01 23:22 ` r.majd
2 siblings, 0 replies; 11+ messages in thread
From: Mathieu Othacehe @ 2020-01-01 18:58 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: 38827, Reza Alizadeh Majd
Hey,
> The ‘vendor’ directory contains a large number of bundled dependencies,
> including various bits of Docker and Kubernetes. I’m not comfortable
> keeping this package as is.
Oops, that's indeed quite problematic. Sorry for not noticing, reverted
until we can find a better way.
Mathieu
^ permalink raw reply [flat|nested] 11+ messages in thread
* [bug#38827] [PATCH] gnu: Add gitlab-runner.
2019-12-31 23:54 ` Ludovic Courtès
2020-01-01 12:20 ` Efraim Flashner
2020-01-01 18:58 ` Mathieu Othacehe
@ 2020-01-01 23:22 ` r.majd
2 siblings, 0 replies; 11+ messages in thread
From: r.majd @ 2020-01-01 23:22 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: 38827, Mathieu Othacehe
[-- Attachment #1: Type: text/html, Size: 915 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* bug#38827: [PATCH] gnu: Add gitlab-runner.
2019-12-31 15:48 ` Reza Alizadeh Majd
2019-12-31 16:09 ` Mathieu Othacehe
@ 2019-12-31 16:09 ` Mathieu Othacehe
1 sibling, 0 replies; 11+ messages in thread
From: Mathieu Othacehe @ 2019-12-31 16:09 UTC (permalink / raw)
To: Reza Alizadeh Majd; +Cc: 38827-done
and closing!
Mathieu
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2020-01-01 23:23 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-31 9:17 [bug#38827] [PATCH] gnu: Add gitlab-runner Reza Alizadeh Majd
2019-12-31 11:06 ` Mathieu Othacehe
2019-12-31 13:21 ` Reza Alizadeh Majd
2019-12-31 13:42 ` Mathieu Othacehe
2019-12-31 15:48 ` Reza Alizadeh Majd
2019-12-31 16:09 ` Mathieu Othacehe
2019-12-31 23:54 ` Ludovic Courtès
2020-01-01 12:20 ` Efraim Flashner
2020-01-01 18:58 ` Mathieu Othacehe
2020-01-01 23:22 ` r.majd
2019-12-31 16:09 ` bug#38827: " Mathieu Othacehe
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.