Bug#969482: ITP: glab -- An open-source GitLab command line tool

2023-07-10 Thread Nicolas Schier
FTR: Unit193 uploaded an initial version yesterday, it is pending in the new
queue.

Kind regards,
Nicolas



Bug#969482: ITP: glab -- An open-source GitLab command line tool

2023-06-09 Thread Antoine Beaupré
On 2023-06-09 10:11:05, Nicolas Schier wrote:
> On Tue, Jan 24, 2023 at 12:23:19PM -0500 Antoine Beaupré wrote:
>> On 2020-09-03 16:21:32, TODO wrote:
>> > Package: wnpp
>> > Severity: wishlist
>> > Owner: TODO 
>> >
>> > * Package name: glab
>> >   Version : 1.10.0-1
>> >   Upstream Author : Clement Sam
>> > * URL : https://github.com/profclems/glab
>> 
>> Hi Clement Sam!
>> 
>> You filed this ITP (Intent To Package) back in 2020, do you still intend
>> on publishing your work in Debian?
>> 
>> I see there was a packaging discussion here:
>> 
>> https://gitlab.com/gitlab-org/cli/-/issues/205
>> 
>> ... but it was closed in favor of using makedeb.org, which we typically
>> do not favor in debian.org itself. :)
>> 
>> As things stand now, you are the owner of this bug and others might be
>> respectfully waiting for you to complete the work instead of jumping in
>> and bringing glab in Debian per se. If you do not intend to continue
>> this work, let us know and someone else might step up. :)
>> 
> [...]
>> 
>> so we don't actually know if we need to package more deps here...
>>
>> Anyways, let us know where things are so we can move forward
>> here. Thanks!
>
> While trying to prepackage glab (v1.30) at work (dh-make-golang + [1]), I had
> to update golang-github-xanzy-go-gitlab-dev from its current version in
> testing/unstable (0.73.1-2) to 0.84.0.
>
> Other dependency package updates were not necessary.
>
> Antoine, does it makes sense that I step in and prepare a non-maintainer 
> upload
> (sponsoring would be needed), or does the golang-team take care of that?
>
> Iff Clement Sam is no more responding: is there a gentle, official way that
> someone may take over the ITP?

ITPs are non-feudal. Especially without a response after months, it's
perfectly fine to take over.

I would suggest pushing your stuff to salsa or somewhere in any case, so
that if you get tired or not there yet, people can pick up from where
you were. :)

Re the team, people are busy, don't expect things to magically fix
themselves. If you see something to fix and have cycles to fix it, do
it.

a.

-- 
People arbitrarily, or as a matter of taste, assigning numerical values
to non-numerical things. And then they pretend that they haven't just
made the numbers up, which they have. Economics is like astrology in
that sense, except that economics serves to justify the current power
structure, and so it has a lot of fervent believers among the powerful.
- Kim Stanley Robinson, Red Mars



Bug#969482: ITP: glab -- An open-source GitLab command line tool

2023-06-09 Thread Nicolas Schier
On Tue, Jan 24, 2023 at 12:23:19PM -0500 Antoine Beaupré wrote:
> On 2020-09-03 16:21:32, TODO wrote:
> > Package: wnpp
> > Severity: wishlist
> > Owner: TODO 
> >
> > * Package name: glab
> >   Version : 1.10.0-1
> >   Upstream Author : Clement Sam
> > * URL : https://github.com/profclems/glab
> 
> Hi Clement Sam!
> 
> You filed this ITP (Intent To Package) back in 2020, do you still intend
> on publishing your work in Debian?
> 
> I see there was a packaging discussion here:
> 
> https://gitlab.com/gitlab-org/cli/-/issues/205
> 
> ... but it was closed in favor of using makedeb.org, which we typically
> do not favor in debian.org itself. :)
> 
> As things stand now, you are the owner of this bug and others might be
> respectfully waiting for you to complete the work instead of jumping in
> and bringing glab in Debian per se. If you do not intend to continue
> this work, let us know and someone else might step up. :)
> 
[...]
> 
> so we don't actually know if we need to package more deps here...
>
> Anyways, let us know where things are so we can move forward
> here. Thanks!

While trying to prepackage glab (v1.30) at work (dh-make-golang + [1]), I had
to update golang-github-xanzy-go-gitlab-dev from its current version in
testing/unstable (0.73.1-2) to 0.84.0.

Other dependency package updates were not necessary.

Antoine, does it makes sense that I step in and prepare a non-maintainer upload
(sponsoring would be needed), or does the golang-team take care of that?

Iff Clement Sam is no more responding: is there a gentle, official way that
someone may take over the ITP?

Kind regards,
Nicolas



Bug#969482: ITP: glab -- An open-source GitLab command line tool

2023-01-24 Thread Antoine Beaupré
On 2020-09-03 16:21:32, TODO wrote:
> Package: wnpp
> Severity: wishlist
> Owner: TODO 
>
> * Package name: glab
>   Version : 1.10.0-1
>   Upstream Author : Clement Sam
> * URL : https://github.com/profclems/glab

Hi Clement Sam!

You filed this ITP (Intent To Package) back in 2020, do you still intend
on publishing your work in Debian?

I see there was a packaging discussion here:

https://gitlab.com/gitlab-org/cli/-/issues/205

... but it was closed in favor of using makedeb.org, which we typically
do not favor in debian.org itself. :)

As things stand now, you are the owner of this bug and others might be
respectfully waiting for you to complete the work instead of jumping in
and bringing glab in Debian per se. If you do not intend to continue
this work, let us know and someone else might step up. :)

As for packaging this inside Debian, I was hoping our tools would give
us a rough estimate but, alas, it seems like dh-make-golang still fails
sometimes:

anarcat@curie:dist$ dh-make-golang estimate gitlab.com/gitlab-org/cli
go get: 258.03 MiBpackage gitlab.com/gitlab-org/cli/cmd/gen-docs: cannot find 
package "github.com/hashicorp/hcl/hcl/printer" in any of:
/usr/lib/go-1.19/src/github.com/hashicorp/hcl/hcl/printer (from $GOROOT)
/tmp/dh-make-golang2745715808/src/github.com/hashicorp/hcl/hcl/printer 
(from $GOPATH)
2023/01/24 12:14:11 estimate: go get: exit status 1
anarcat@curie:dist[1]$ 

The makedeb "Debian package" is also pretty useless for our work here
because it only specifies golang as a dependency:

makedepends=('golang-go>=2:1.13')

so we don't actually know if we need to package more deps here...

Anyways, let us know where things are so we can move forward
here. Thanks!

a.
-- 
The problem is not a lack of highly educated workers, the problem is a
lack of highly educated workers willing to work for the minimum wage or
lower in the U.S. Costs are driving outsourcing, not the quality of
American schools.   - Scott Kirwin, IT Professionals Association



Bug#969482: ITP: glab -- An open-source GitLab command line tool

2022-08-27 Thread Julian Dreykorn
Package: wnpp
Followup-For: Bug #969482
Owner: Julian Dreykorn 
X-Debbugs-Cc: debian-de...@lists.debian.org, dreykorn.jul...@gmail.com



I appologize for the duplicated lines in my previos reply.
It was really not my intention, just a copy-paste-mistake that happened 
accidentally from Vim in the console.
I'm sorry for that and hope that it didn't cause any confusions here.



Bug#969482: ITP: glab -- An open-source GitLab command line tool

2022-08-27 Thread Julian Dreykorn
Package: wnpp
Followup-For: Bug #969482
X-Debbugs-Cc: dreykorn.jul...@gmail.com


I would also be interested in this package. But the details need to be updated.
It was officially adopted by GitLab, so it has a new URL:
https://gitlab.com/gitlab-org/cli
Does this mean that we need a new possible maintainer, or is the original 
creator still willing to maintain it?
Hope to see it soon in Debian.
Best wishes, Julianhttps://gitlab.com/gitlab-org/cli
Does this mean that we need a new possible maintainer, or is the original 
creator still willing to maintain it?
Hope to see it soon in Debian.
Best wishes, Julianhttps://gitlab.com/gitlab-org/cli
Does this mean that we need a new possible maintainer, or is the original 
creator still willing to maintain it?
Hope to see it soon in Debian.
Best wishes, Julianhttps://gitlab.com/gitlab-org/cli
Does this mean that we need a new possible maintainer, or is the original 
creator still willing to maintain it?
Hope to see it soon in Debian.
Best wishes, Julianhttps://gitlab.com/gitlab-org/cli
Does this mean that we need a new possible maintainer, or is the original 
creator still willing to maintain it?
Hope to see it soon in Debian.
Best wishes, Julian



Bug#969482: ITP: glab -- An open-source GitLab command line tool

2022-04-27 Thread David Heidelberg
There is interest in this package. Personally I would prefer to not to 
install `glab` trough Snap.


David



Bug#969482: ITP: glab -- An open-source GitLab command line tool

2020-09-03 Thread TODO
Package: wnpp
Severity: wishlist
Owner: TODO 

* Package name: glab
  Version : 1.10.0-1
  Upstream Author : Clement Sam
* URL : https://github.com/profclems/glab
* License : Expat
  Programming Lang: Go
  Description : An open-source GitLab command line tool

 GLab
 .
 All Contributors (#contributors-)
 .
 .
 Go Report Card (https://goreportcard.com/report/github.com/profclems/glab)
 GitHub Workflow Status .github/workflows/build_docs.yml Gitter
 
(https://gitter.im/glabcli/community?utm_source=badge_medium=badge_campaign=pr-badge)
 License (LICENSE) Twitter
 
(https://twitter.com/intent/tweet?text=Take%20Gitlab%20to%20the%20command%20line%20with%20%23glab,%20an%20open-source%20GitLab%20CLI%20tool:=https%3A%2F%2Fgithub.com%2Fprofclems%2Fglab)
 .
 GLab is an open source Gitlab Cli tool written in Go (golang) to help
 work seamlessly with Gitlab from the command line. Work with issues,
 merge requests, watch running pipelines directly from your CLI among
 other features.
 .
 image Usage bash
   glab   [flags]
 .
 Core Commands• glab mr [list, create, close, reopen, delete]• glab
 issue [list, create, close, reopen, delete]• glab pipeline [list,
 delete, ci status, ci view]• glab config• glab helpExamples bash
   $ glab issue create --title="This is an issue title" --description="This
   is a really long description" $ glab issue list --closed $ glab pipeline
   ci view -b master# to watch the latest pipeline on master $ glab
   pipeline status# classic ci view
 .
 Learn More Read the documentation (https://clementsam.tech/glab)
 for more information on this tool.  Installation
 Download a binary suitable for your OS at the releases page
 (https://github.com/profclems/glab/releases/latest).  Quick Install (Bash)
 You can install or update glab with: bash curl -sL https://j.mp/glab-i |
 sudo bash
 .
 or bash curl -s
 https://raw.githubusercontent.com/profclems/glab/trunk/scripts/quick_install.sh
 | sudo bash
 .
 Installs into usr/local/bin Windows Available for download
 on scoop or manually as an installable executable file or a
 Portable archived file in tar and zip formats at the releases
 page (https://github.com/profclems/glab/releases/latest).
 Download and install now at the releases page
 (https://github.com/profclems/glab/releases/latest).
 .
 The installable executable file sets the PATH
 automatically.  Scoop sh scoop bucket add profclems-bucket
 https://github.com/profclems/scoop-bucket.git scoop install glab
 .
 Linux Downloads available via linuxbrew (homebrew) and tar balls Linuxbrew
 (Homebrew) sh brew install profclems/tap/glab
 .
 Updating: sh brew upgrade glab
 .
 Arch Linux glab is available through the gitlab-glab-bin
 (https://aur.archlinux.org/packages/gitlab-glab-bin/) package on
 the AUR.  Manual Installation Download the tar ball, untar and
 install: • Download the .tar.gz file from the releases page
 (https://github.com/profclems/glab/releases/latest)• unzip
 glab-*-linux-amd64.tar.gz to unzip the downloaded file• sudo mv
 glab-*-linux-amd64/glab /usr/binMacOS glab is available via Homebrew or
 you can manually install Homebrew sh brew install profclems/tap/glab
 .
 Updating: sh brew upgrade glab
 .
 Installing manually• Download the .tar.gz or .zip file from the releases
 page (https://github.com/profclems/glab/releases/latest) and unzip or
 untar• ls /usr/local/bin/ || sudo mkdir /usr/local/bin/; to make sure
 the bin folder exists• sudo mv glab-*-darwin-amd64/glab /usr/binBuilding
 From Source If a supported binary for your OS is not found at the releases
 page (https://github.com/profclems/glab/releases/latest), you can build
 from source: • Verify that you have Go 1.13.8+ installed sh
$ go version go version go1.14
 .
 .
 If go is not installed, follow instructions on the Go website
 (https://golang.org/doc/install).  • Clone this repository sh
$ git clone https://github.com/profclems/glab.git glab-cli $
cd glab-cli
 .
 .
 or
 .
 sh
$ git clone https://gitlab.com/profclems/glab.git $ cd glab-cli
 .
 • Build the project
 .
$ make build
 .
 • Move the resulting bin/glab executable to somewhere in your PATH sh
$ sudo mv ./bin/glab /usr/local/bin/
 .
or sh $ sudo mv ./bin/glab /usr/bin/
 .
 • Run glab version to check if it worked and glab config -g to set
 upConfiguration To set configuration for current directory (must be a
 git repository) ```sh glab config  // Will be prompted for details
 .
 or
 .
 glab config --token= --url=https://gitlab.com --remote-var=origin
 .
 **To set configuration globally** sh glab config --global // Will be
 prompted for details
 .
 or
 .
 glab config --global --token= --url=https://gitlab.com
 --remote-var=origin
 .
 **For initial releases up to v1.6.1** sh glab config --token=
 --url=https://gitlab.com --pid= --repo=OWNER/REPO ``` Example sh glab
 config --token=sometoken --url=https://gitlab.com --pid=someprojectid
 --repo=profclems/glab
 .
 NB: Change gitlab.com to company