public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
* [ITA] rubygems 3.4.12
@ 2023-04-14 12:55 Daisuke Fujimura
  2023-04-15 17:40 ` Marco Atzeri
  2023-04-15 18:20 ` Jon Turney
  0 siblings, 2 replies; 9+ messages in thread
From: Daisuke Fujimura @ 2023-04-14 12:55 UTC (permalink / raw)
  To: cygwin-apps

[-- Attachment #1: Type: text/plain, Size: 237 bytes --]

Hello,

====

Cygportfile:
- https://cygwin.com/git-cygwin-packages/?p=git/cygwin-packages/playground.git;a=tree;h=refs/heads/rubygems;hb=refs/heads/rubygems

Packages, logs:
- https://github.com/cygwin/scallywag/actions/runs/4698944134

[-- Attachment #2: rubygems.cygport.diff --]
[-- Type: application/octet-stream, Size: 1489 bytes --]

--- cygport-rubygems/rubygems.cygport	2023-04-13 21:58:12
+++ playground-rubygems/rubygems.cygport	2023-04-14 19:37:10
@@ -1,16 +1,18 @@
 inherit ruby
 
 NAME="rubygems"
-VERSION=3.0.3
+VERSION=3.4.12
 RELEASE=1
 CATEGORY="Ruby"
 SUMMARY="Ruby module management system"
 DESCRIPTION="A centralized Ruby extension management system, similar to Perl's CPAN"
-HOMEPAGE="http://rubygems.org/"
-SRC_URI="http://production.cf.rubygems.org/rubygems/${NAME}-${VERSION}.tgz"
+HOMEPAGE="https://rubygems.org/"
+SRC_URI="https://github.com/rubygems/rubygems/archive/refs/tags/v${VERSION}.tar.gz"
 SRC_URI+=" operating_system.rb"
 PATCH_URI="2.4.1-cygwin.patch"
 
+LICENSE="MIT"
+
 ARCH=noarch
 
 PKG_NAMES="${NAME} ${NAME}-doc"
@@ -18,7 +20,6 @@
 rubygems_CONTENTS="usr/bin/gem usr/share/doc/ usr/share/rubygems/"
 rubygems_doc_CONTENTS="usr/share/gems/doc/"
 
-DIFF_EXCLUDES="bundler.gemspec"
 DEPS_PATH="/usr/share/rubygems"
 
 CYGPORT_USE_UNSTABLE_API=1
@@ -39,9 +40,16 @@
 
 	# bundler is now a default part of ruby
 	rm -f ${D}/usr/bin/bundle*
+	rm -fr ${D}/usr/share/gems/gems/bundler-*/
 	rm -f ${D}/usr/share/gems/specifications/default/bundler-*.gemspec
-	rm -fr ${D}${D}/usr/share/gems/specifications/gems/bundler-*/
+	rm -fr ${D}/usr/share/gems/specifications/gems/bundler-*/
 	rm -fr ${D}/usr/share/rubygems/bundler*
 
+	# remove generated files
+	for b in ${D}/usr/bin/*
+	do
+		[ `basename ${b}` != "gem" ] && rm -f ${b}
+	done
+
 	rm -fr ${D}/usr/share/rubygems/rubygems/ssl_certs/
 }

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [ITA] rubygems 3.4.12
  2023-04-14 12:55 [ITA] rubygems 3.4.12 Daisuke Fujimura
@ 2023-04-15 17:40 ` Marco Atzeri
  2023-04-15 18:20 ` Jon Turney
  1 sibling, 0 replies; 9+ messages in thread
From: Marco Atzeri @ 2023-04-15 17:40 UTC (permalink / raw)
  To: cygwin-apps

On 14.04.2023 14:55, Daisuke Fujimura via Cygwin-apps wrote:
> Hello,
> 
> ====
> 
> Cygportfile:
> - https://cygwin.com/git-cygwin-packages/?p=git/cygwin-packages/playground.git;a=tree;h=refs/heads/rubygems;hb=refs/heads/rubygems
> 
> Packages, logs:
> - https://github.com/cygwin/scallywag/actions/runs/4698944134

I changed maintainer-ship to you

Thanks
Marco


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [ITA] rubygems 3.4.12
  2023-04-14 12:55 [ITA] rubygems 3.4.12 Daisuke Fujimura
  2023-04-15 17:40 ` Marco Atzeri
@ 2023-04-15 18:20 ` Jon Turney
  2023-04-16  1:30   ` Daisuke Fujimura
  1 sibling, 1 reply; 9+ messages in thread
From: Jon Turney @ 2023-04-15 18:20 UTC (permalink / raw)
  To: cygwin-apps, Daisuke Fujimura

On 14/04/2023 13:55, Daisuke Fujimura via Cygwin-apps wrote:
> Hello,
> 
> ====
> 
> Cygportfile:
> - https://cygwin.com/git-cygwin-packages/?p=git/cygwin-packages/playground.git;a=tree;h=refs/heads/rubygems;hb=refs/heads/rubygems

Would it make more sense to use:

SRC_URI="https://rubygems.org/rubygems/rubygems-${VERSION}.tgz"

?



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [ITA] rubygems 3.4.12
  2023-04-15 18:20 ` Jon Turney
@ 2023-04-16  1:30   ` Daisuke Fujimura
  2023-04-17 10:28     ` Daisuke Fujimura
  0 siblings, 1 reply; 9+ messages in thread
From: Daisuke Fujimura @ 2023-04-16  1:30 UTC (permalink / raw)
  To: cygwin-apps

Thank you for your review.

As you indicated, we have decided that it is preferable to download
the file from the official site.

I confirmed that there are no differences in the packages.

On Sun, Apr 16, 2023 at 3:20 AM Jon Turney <jon.turney@dronecode.org.uk> wrote:
>
> On 14/04/2023 13:55, Daisuke Fujimura via Cygwin-apps wrote:
> > Hello,
> >
> > ====
> >
> > Cygportfile:
> > - https://cygwin.com/git-cygwin-packages/?p=git/cygwin-packages/playground.git;a=tree;h=refs/heads/rubygems;hb=refs/heads/rubygems
>
> Would it make more sense to use:
>
> SRC_URI="https://rubygems.org/rubygems/rubygems-${VERSION}.tgz"
>
> ?
>
>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [ITA] rubygems 3.4.12
  2023-04-16  1:30   ` Daisuke Fujimura
@ 2023-04-17 10:28     ` Daisuke Fujimura
  2023-04-17 10:40       ` Jon Turney
  0 siblings, 1 reply; 9+ messages in thread
From: Daisuke Fujimura @ 2023-04-17 10:28 UTC (permalink / raw)
  To: cygwin-apps

> I changed maintainer-ship to you

I can't push on git, is there anything else I should do?

I confirmed that my name is mentioned in the rubygems section of
cygwin-pkg-maint.

```
$ git remote -v
origin ssh://cygwin@cygwin.com/git/cygwin-packages/rubygems.git (fetch)
origin ssh://cygwin@cygwin.com/git/cygwin-packages/rubygems.git (push)

$ git push origin master
kex_exchange_identification: Connection closed by remote host
Connection closed by 8.43.85.97 port 22
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
```

On Sun, Apr 16, 2023 at 10:30 AM Daisuke Fujimura
<booleanlabel@gmail.com> wrote:
>
> Thank you for your review.
>
> As you indicated, we have decided that it is preferable to download
> the file from the official site.
>
> I confirmed that there are no differences in the packages.
>
> On Sun, Apr 16, 2023 at 3:20 AM Jon Turney <jon.turney@dronecode.org.uk> wrote:
> >
> > On 14/04/2023 13:55, Daisuke Fujimura via Cygwin-apps wrote:
> > > Hello,
> > >
> > > ====
> > >
> > > Cygportfile:
> > > - https://cygwin.com/git-cygwin-packages/?p=git/cygwin-packages/playground.git;a=tree;h=refs/heads/rubygems;hb=refs/heads/rubygems
> >
> > Would it make more sense to use:
> >
> > SRC_URI="https://rubygems.org/rubygems/rubygems-${VERSION}.tgz"
> >
> > ?
> >
> >

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [ITA] rubygems 3.4.12
  2023-04-17 10:28     ` Daisuke Fujimura
@ 2023-04-17 10:40       ` Jon Turney
  2023-04-17 11:29         ` Daisuke Fujimura
  0 siblings, 1 reply; 9+ messages in thread
From: Jon Turney @ 2023-04-17 10:40 UTC (permalink / raw)
  To: Daisuke Fujimura, cygwin-apps

On 17/04/2023 11:28, Daisuke Fujimura via Cygwin-apps wrote:
>> I changed maintainer-ship to you
> 
> I can't push on git, is there anything else I should do?
> 
> I confirmed that my name is mentioned in the rubygems section of
> cygwin-pkg-maint.
> 
> ```
> $ git remote -v
> origin ssh://cygwin-rDBXBDvO6BXQT0dZR+AlfA@public.gmane.org/git/cygwin-packages/rubygems.git (fetch)
> origin ssh://cygwin-rDBXBDvO6BXQT0dZR+AlfA@public.gmane.org/git/cygwin-packages/rubygems.git (push)
> 
> $ git push origin master
> kex_exchange_identification: Connection closed by remote host
> Connection closed by 8.43.85.97 port 22

This just looks like problem establishing the ssh connection.

If it's not a transient problem, you can try 'ssh cygwin@cygwin.com 
alive', and then maybe adding '-vvv' may give some hints as to what's 
going wrong...

> fatal: Could not read from remote repository.
> 
> Please make sure you have the correct access rights
> and the repository exists.
> ```


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [ITA] rubygems 3.4.12
  2023-04-17 10:40       ` Jon Turney
@ 2023-04-17 11:29         ` Daisuke Fujimura
  2023-04-17 16:22           ` Brian Inglis
  0 siblings, 1 reply; 9+ messages in thread
From: Daisuke Fujimura @ 2023-04-17 11:29 UTC (permalink / raw)
  To: cygwin-apps

I tried again and succeeded.

It seems it was a temporary problem.

Thanks for the advice.

On Mon, Apr 17, 2023 at 7:40 PM Jon Turney <jon.turney@dronecode.org.uk> wrote:
>
> On 17/04/2023 11:28, Daisuke Fujimura via Cygwin-apps wrote:
> >> I changed maintainer-ship to you
> >
> > I can't push on git, is there anything else I should do?
> >
> > I confirmed that my name is mentioned in the rubygems section of
> > cygwin-pkg-maint.
> >
> > ```
> > $ git remote -v
> > origin ssh://cygwin-rDBXBDvO6BXQT0dZR+AlfA@public.gmane.org/git/cygwin-packages/rubygems.git (fetch)
> > origin ssh://cygwin-rDBXBDvO6BXQT0dZR+AlfA@public.gmane.org/git/cygwin-packages/rubygems.git (push)
> >
> > $ git push origin master
> > kex_exchange_identification: Connection closed by remote host
> > Connection closed by 8.43.85.97 port 22
>
> This just looks like problem establishing the ssh connection.
>
> If it's not a transient problem, you can try 'ssh cygwin@cygwin.com
> alive', and then maybe adding '-vvv' may give some hints as to what's
> going wrong...
>
> > fatal: Could not read from remote repository.
> >
> > Please make sure you have the correct access rights
> > and the repository exists.
> > ```
>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [ITA] rubygems 3.4.12
  2023-04-17 11:29         ` Daisuke Fujimura
@ 2023-04-17 16:22           ` Brian Inglis
  2023-04-17 22:48             ` Daisuke Fujimura
  0 siblings, 1 reply; 9+ messages in thread
From: Brian Inglis @ 2023-04-17 16:22 UTC (permalink / raw)
  To: cygwin-apps

On 2023-04-17 05:29, Daisuke Fujimura via Cygwin-apps wrote:
> I tried again and succeeded.
> It seems it was a temporary problem.
> Thanks for the advice.

> On Mon, Apr 17, 2023 at 7:40 PM Jon Turney <jon.turney@dronecode.org.uk> wrote:
>> On 17/04/2023 11:28, Daisuke Fujimura via Cygwin-apps wrote:
>>>> I changed maintainer-ship to you

>>> I can't push on git, is there anything else I should do?
>>> I confirmed that my name is mentioned in the rubygems section of
>>> cygwin-pkg-maint.
>>>
>>> ```
>>> $ git remote -v
>>> origin ssh://cygwin-rDBXBDvO6BXQT0dZR+AlfA@public.gmane.org/git/cygwin-packages/rubygems.git (fetch)
>>> origin ssh://cygwin-rDBXBDvO6BXQT0dZR+AlfA@public.gmane.org/git/cygwin-packages/rubygems.git (push)
>>> $ git push origin master
>>> kex_exchange_identification: Connection closed by remote host
>>> Connection closed by 8.43.85.97 port 22

>> This just looks like problem establishing the ssh connection.
>> If it's not a transient problem, you can try 'ssh cygwin@cygwin.com
>> alive', and then maybe adding '-vvv' may give some hints as to what's
>> going wrong...

>>> fatal: Could not read from remote repository.
>>> Please make sure you have the correct access rights
>>> and the repository exists.
>>> ```

Don't you have to make one ssh connection to save your host key, any time your 
host or ssh key changes, before other operations will work?

-- 
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer     but when there is no more to cut
                                 -- Antoine de Saint-Exupéry

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [ITA] rubygems 3.4.12
  2023-04-17 16:22           ` Brian Inglis
@ 2023-04-17 22:48             ` Daisuke Fujimura
  0 siblings, 0 replies; 9+ messages in thread
From: Daisuke Fujimura @ 2023-04-17 22:48 UTC (permalink / raw)
  To: cygwin-apps

I had saved the ssh key because I had already used it to update other packages.

Perhaps it was because the connection environment was different than usual.

Thanks for the advice.

On Tue, Apr 18, 2023 at 1:23 AM Brian Inglis via Cygwin-apps
<cygwin-apps@cygwin.com> wrote:
>
> On 2023-04-17 05:29, Daisuke Fujimura via Cygwin-apps wrote:
> > I tried again and succeeded.
> > It seems it was a temporary problem.
> > Thanks for the advice.
>
> > On Mon, Apr 17, 2023 at 7:40 PM Jon Turney <jon.turney@dronecode.org.uk> wrote:
> >> On 17/04/2023 11:28, Daisuke Fujimura via Cygwin-apps wrote:
> >>>> I changed maintainer-ship to you
>
> >>> I can't push on git, is there anything else I should do?
> >>> I confirmed that my name is mentioned in the rubygems section of
> >>> cygwin-pkg-maint.
> >>>
> >>> ```
> >>> $ git remote -v
> >>> origin ssh://cygwin-rDBXBDvO6BXQT0dZR+AlfA@public.gmane.org/git/cygwin-packages/rubygems.git (fetch)
> >>> origin ssh://cygwin-rDBXBDvO6BXQT0dZR+AlfA@public.gmane.org/git/cygwin-packages/rubygems.git (push)
> >>> $ git push origin master
> >>> kex_exchange_identification: Connection closed by remote host
> >>> Connection closed by 8.43.85.97 port 22
>
> >> This just looks like problem establishing the ssh connection.
> >> If it's not a transient problem, you can try 'ssh cygwin@cygwin.com
> >> alive', and then maybe adding '-vvv' may give some hints as to what's
> >> going wrong...
>
> >>> fatal: Could not read from remote repository.
> >>> Please make sure you have the correct access rights
> >>> and the repository exists.
> >>> ```
>
> Don't you have to make one ssh connection to save your host key, any time your
> host or ssh key changes, before other operations will work?
>
> --
> Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada
>
> La perfection est atteinte                   Perfection is achieved
> non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
> mais lorsqu'il n'y a plus rien à retirer     but when there is no more to cut
>                                  -- Antoine de Saint-Exupéry

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-04-17 22:49 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-14 12:55 [ITA] rubygems 3.4.12 Daisuke Fujimura
2023-04-15 17:40 ` Marco Atzeri
2023-04-15 18:20 ` Jon Turney
2023-04-16  1:30   ` Daisuke Fujimura
2023-04-17 10:28     ` Daisuke Fujimura
2023-04-17 10:40       ` Jon Turney
2023-04-17 11:29         ` Daisuke Fujimura
2023-04-17 16:22           ` Brian Inglis
2023-04-17 22:48             ` Daisuke Fujimura

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).