Re: Help with tarme.rb

2022-09-05 Thread Harald Sitter
On Mon, Sep 5, 2022 at 6:55 AM Tobias Leupold  wrote:
>
> Am Montag, 5. September 2022, 00:19:24 CEST schrieb Tobias Leupold:
> > Hi all,
> >
> > I have a small problem with creating release tarballs. I must have missed
> > something?!
> >
> > Yesterday, I created a release tarball for both KPhotoAlbum and KGeoTag. I
> > first tried to do this as I always did it:
> >
> > ./tarme.rb --origin trunk --version 5.9.0 kphotoalbum
> >
> > that gave me
> >
> > Traceback (most recent call last):
> > 8: from ./tarme.rb:74:in `'
> > 7: from ./tarme.rb:74:in `collect'
> > 6: from ./tarme.rb:81:in `block in '
> > 5: from /hd/home/tobias/tmp/git/releaseme/lib/releaseme/
> > release.rb:66:in `get'
> > 4: from /hd/home/tobias/tmp/git/releaseme/lib/releaseme/
> > release.rb:154:in `check_ci!'
> > 3: from /hd/home/tobias/tmp/git/releaseme/lib/releaseme/
> > jenkins.rb:60:in `from_name_and_branch'
> > 2: from /hd/home/tobias/tmp/git/releaseme/lib/releaseme/
> > jenkins.rb:23:in `get'
> > 1: from /usr/lib64/ruby/2.7.0/net/http/response.rb:133:in
> > `value' /usr/lib64/ruby/2.7.0/net/http/response.rb:124:in `error!': 302
> > "Found" (Net::HTTPRetriableError)
> >
> > Then, I had a look at the wiki and found "--origin stable". I used this, and
> > the tarball was created.
> >
> > Too late, I noticed (thanks Heiko Becker for mailing me!!!) that no
> > translations are included in neither tarball.
> >
> > As said, I must have missed something -- what's wrong?!
> >
> > Thanks for all help for a (after all those years still) junior dev not doing
> > releases too often ... ;-)
> >
> > Cheers, Tobias
>
> I have not much clue about Ruby, but I just noticed that the problem seems to
> originate from "jenkins.rb", where a connection to build.kde.org is
> established. This URL is since recently redirected to metrics.kde.org/login
> (due to the retirement of Jenkins I think).

A fix for this is waiting for its pipeline to succeed.

> Also, invent.kde.org/sysadmin/repo-metadata lists "trunk", "stable",
> "stable_kf5" and "trunk_kf5" in i18n.json, whereas tarme.rb acceps (according
> to "./tarme.rb --help") "trunk", "stable", "lts", "trunk_kde4" and
> "stable_kde4".
>
> So ... is this a tarme.rb issue?!

Nah, trunk and stable in the metadata are simply the legacy (kde4) names


Re: Help with tarme.rb

2022-09-04 Thread Tobias Leupold
Am Montag, 5. September 2022, 00:19:24 CEST schrieb Tobias Leupold:
> Hi all,
> 
> I have a small problem with creating release tarballs. I must have missed
> something?!
> 
> Yesterday, I created a release tarball for both KPhotoAlbum and KGeoTag. I
> first tried to do this as I always did it:
> 
> ./tarme.rb --origin trunk --version 5.9.0 kphotoalbum
> 
> that gave me
> 
> Traceback (most recent call last):
> 8: from ./tarme.rb:74:in `'
> 7: from ./tarme.rb:74:in `collect'
> 6: from ./tarme.rb:81:in `block in '
> 5: from /hd/home/tobias/tmp/git/releaseme/lib/releaseme/
> release.rb:66:in `get'
> 4: from /hd/home/tobias/tmp/git/releaseme/lib/releaseme/
> release.rb:154:in `check_ci!'
> 3: from /hd/home/tobias/tmp/git/releaseme/lib/releaseme/
> jenkins.rb:60:in `from_name_and_branch'
> 2: from /hd/home/tobias/tmp/git/releaseme/lib/releaseme/
> jenkins.rb:23:in `get'
> 1: from /usr/lib64/ruby/2.7.0/net/http/response.rb:133:in
> `value' /usr/lib64/ruby/2.7.0/net/http/response.rb:124:in `error!': 302
> "Found" (Net::HTTPRetriableError)
> 
> Then, I had a look at the wiki and found "--origin stable". I used this, and
> the tarball was created.
> 
> Too late, I noticed (thanks Heiko Becker for mailing me!!!) that no
> translations are included in neither tarball.
> 
> As said, I must have missed something -- what's wrong?!
> 
> Thanks for all help for a (after all those years still) junior dev not doing
> releases too often ... ;-)
> 
> Cheers, Tobias

I have not much clue about Ruby, but I just noticed that the problem seems to 
originate from "jenkins.rb", where a connection to build.kde.org is 
established. This URL is since recently redirected to metrics.kde.org/login 
(due to the retirement of Jenkins I think).

Also, invent.kde.org/sysadmin/repo-metadata lists "trunk", "stable", 
"stable_kf5" and "trunk_kf5" in i18n.json, whereas tarme.rb acceps (according 
to "./tarme.rb --help") "trunk", "stable", "lts", "trunk_kde4" and 
"stable_kde4".

So ... is this a tarme.rb issue?!




Help with tarme.rb

2022-09-04 Thread Tobias Leupold
Hi all,

I have a small problem with creating release tarballs. I must have missed 
something?!

Yesterday, I created a release tarball for both KPhotoAlbum and KGeoTag. I 
first tried to do this as I always did it:

./tarme.rb --origin trunk --version 5.9.0 kphotoalbum

that gave me

Traceback (most recent call last):
8: from ./tarme.rb:74:in `'
7: from ./tarme.rb:74:in `collect'
6: from ./tarme.rb:81:in `block in '
5: from /hd/home/tobias/tmp/git/releaseme/lib/releaseme/
release.rb:66:in `get'
4: from /hd/home/tobias/tmp/git/releaseme/lib/releaseme/
release.rb:154:in `check_ci!'
3: from /hd/home/tobias/tmp/git/releaseme/lib/releaseme/
jenkins.rb:60:in `from_name_and_branch'
2: from /hd/home/tobias/tmp/git/releaseme/lib/releaseme/
jenkins.rb:23:in `get'
1: from /usr/lib64/ruby/2.7.0/net/http/response.rb:133:in `value'
/usr/lib64/ruby/2.7.0/net/http/response.rb:124:in `error!': 302 "Found" 
(Net::HTTPRetriableError)

Then, I had a look at the wiki and found "--origin stable". I used this, and 
the tarball was created.

Too late, I noticed (thanks Heiko Becker for mailing me!!!) that no 
translations are included in neither tarball.

As said, I must have missed something -- what's wrong?!

Thanks for all help for a (after all those years still) junior dev not doing 
releases too often ... ;-)

Cheers, Tobias