ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:119390] [Ruby master Feature#20775] Gemify win32-registry, win32-sspi and win32-resolv
@ 2024-10-01 19:36 larskanis (Lars Kanis) via ruby-core
  2024-10-02  2:38 ` [ruby-core:119393] " nobu (Nobuyoshi Nakada) via ruby-core
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: larskanis (Lars Kanis) via ruby-core @ 2024-10-01 19:36 UTC (permalink / raw)
  To: ruby-core; +Cc: larskanis (Lars Kanis)

Issue #20775 has been reported by larskanis (Lars Kanis).

----------------------------------------
Feature #20775: Gemify win32-registry, win32-sspi and win32-resolv
https://bugs.ruby-lang.org/issues/20775

* Author: larskanis (Lars Kanis)
* Status: Open
----------------------------------------
Many libraries bundled with ruby have been gemified and were separated into it's own repository.
Not so far the 3 win32 libraries: https://github.com/ruby/ruby/tree/master/ext/win32/lib/win32
* win32/registry
* win32/resolv
* win32/sspi

win32-registry
-----------

I started with win32/registry in https://github.com/larskanis/win32-registry

* separate all commit into it's own repository,
* make it a gem,
* add proper test cases to verify the core functions,
* add a GHA workflow to run the tests,
* add a single commit to change to consistent UTF-8 string output (see https://bugs.ruby-lang.org/issues/20774)

My intention is that the repository can be moved to https://github.com/ruby/win32-registry and can be integrated it into ruby.
However I think `win32/registry` should permanently stay a bundled gem, since the registry access is a core functionality on Windows, so it should always be in the core ruby distribution.

win32-sspi
-----------
Regarding `win32/sspi` I doubt that anyone is using this library.
It was completely broken since ruby-3.0 until some days ago due to this fix: https://github.com/ruby/ruby/commit/fc2f196cb8542a81bf271cdb90e0189c54321103
Nevertheless it makes sense to gemify it and to move it to it's own repository.
I use a massively extended version of this file at work, maybe this can be included then.
IMHO there's no need to keep it in the ruby distribution.

win32-resolv
---------
I don't have a strong opinion reg. `win32/resolv` and never had a reason to use this platform dependent API instead of the cross platform functions in the `socket` library.
Maybe it had a use in the past.




-- 
https://bugs.ruby-lang.org/
 ______________________________________________
 ruby-core mailing list -- ruby-core@ml.ruby-lang.org
 To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
 ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/

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

* [ruby-core:119393] [Ruby master Feature#20775] Gemify win32-registry, win32-sspi and win32-resolv
  2024-10-01 19:36 [ruby-core:119390] [Ruby master Feature#20775] Gemify win32-registry, win32-sspi and win32-resolv larskanis (Lars Kanis) via ruby-core
@ 2024-10-02  2:38 ` nobu (Nobuyoshi Nakada) via ruby-core
  2024-10-02  3:10 ` [ruby-core:119394] " hsbt (Hiroshi SHIBATA) via ruby-core
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: nobu (Nobuyoshi Nakada) via ruby-core @ 2024-10-02  2:38 UTC (permalink / raw)
  To: ruby-core; +Cc: nobu (Nobuyoshi Nakada)

Issue #20775 has been updated by nobu (Nobuyoshi Nakada).


### win32/sspi
I'd propose to just drop it.
It has been unmaintained for years, not only `A` you mentioned (e.g., `Fixnum`), but no body noticed it.

### win32/resolve
it is included in [ruby/resolv](https://github.com/ruby/resolv) already.
https://github.com/ruby/resolv/pull/54

----------------------------------------
Feature #20775: Gemify win32-registry, win32-sspi and win32-resolv
https://bugs.ruby-lang.org/issues/20775#change-110009

* Author: larskanis (Lars Kanis)
* Status: Open
----------------------------------------
Many libraries bundled with ruby have been gemified and were separated into it's own repository.
Not so far the 3 win32 libraries: https://github.com/ruby/ruby/tree/master/ext/win32/lib/win32
* win32/registry
* win32/resolv
* win32/sspi

win32-registry
-----------

I started with win32/registry in https://github.com/larskanis/win32-registry

* separate all commit into it's own repository,
* make it a gem,
* add proper test cases to verify the core functions,
* add a GHA workflow to run the tests,
* add a single commit to change to consistent UTF-8 string output (see https://bugs.ruby-lang.org/issues/20774)

My intention is that the repository can be moved to https://github.com/ruby/win32-registry and can be integrated it into ruby.
However I think `win32/registry` should permanently stay a bundled gem, since the registry access is a core functionality on Windows, so it should always be in the core ruby distribution.

win32-sspi
-----------
Regarding `win32/sspi` I doubt that anyone is using this library.
It was completely broken since ruby-3.0 until some days ago due to this fix: https://github.com/ruby/ruby/commit/fc2f196cb8542a81bf271cdb90e0189c54321103
Nevertheless it makes sense to gemify it and to move it to it's own repository.
I use a massively extended version of this file at work, maybe this can be included then.
IMHO there's no need to keep it in the ruby distribution.

win32-resolv
---------
I don't have a strong opinion reg. `win32/resolv` and never had a reason to use this platform dependent API instead of the cross platform functions in the `socket` library.
Maybe it had a use in the past.




-- 
https://bugs.ruby-lang.org/
 ______________________________________________
 ruby-core mailing list -- ruby-core@ml.ruby-lang.org
 To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
 ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/

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

* [ruby-core:119394] [Ruby master Feature#20775] Gemify win32-registry, win32-sspi and win32-resolv
  2024-10-01 19:36 [ruby-core:119390] [Ruby master Feature#20775] Gemify win32-registry, win32-sspi and win32-resolv larskanis (Lars Kanis) via ruby-core
  2024-10-02  2:38 ` [ruby-core:119393] " nobu (Nobuyoshi Nakada) via ruby-core
@ 2024-10-02  3:10 ` hsbt (Hiroshi SHIBATA) via ruby-core
  2024-10-02  4:52 ` [ruby-core:119395] " hsbt (Hiroshi SHIBATA) via ruby-core
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: hsbt (Hiroshi SHIBATA) via ruby-core @ 2024-10-02  3:10 UTC (permalink / raw)
  To: ruby-core; +Cc: hsbt (Hiroshi SHIBATA)

Issue #20775 has been updated by hsbt (Hiroshi SHIBATA).

Status changed from Open to Assigned
Assignee set to hsbt (Hiroshi SHIBATA)

>win32-registry

I agreed your proposal.

@nobu Do you have any concern?

>win32-sspi

I'm +1 to @nobu's opinion. we removed it from `ruby/ruby`.

>win32-resolv

As nobu said, we already bundled it to resolv gem.



----------------------------------------
Feature #20775: Gemify win32-registry, win32-sspi and win32-resolv
https://bugs.ruby-lang.org/issues/20775#change-110010

* Author: larskanis (Lars Kanis)
* Status: Assigned
* Assignee: hsbt (Hiroshi SHIBATA)
----------------------------------------
Many libraries bundled with ruby have been gemified and were separated into it's own repository.
Not so far the 3 win32 libraries: https://github.com/ruby/ruby/tree/master/ext/win32/lib/win32
* win32/registry
* win32/resolv
* win32/sspi

win32-registry
-----------

I started with win32/registry in https://github.com/larskanis/win32-registry

* separate all commit into it's own repository,
* make it a gem,
* add proper test cases to verify the core functions,
* add a GHA workflow to run the tests,
* add a single commit to change to consistent UTF-8 string output (see https://bugs.ruby-lang.org/issues/20774)

My intention is that the repository can be moved to https://github.com/ruby/win32-registry and can be integrated it into ruby.
However I think `win32/registry` should permanently stay a bundled gem, since the registry access is a core functionality on Windows, so it should always be in the core ruby distribution.

win32-sspi
-----------
Regarding `win32/sspi` I doubt that anyone is using this library.
It was completely broken since ruby-3.0 until some days ago due to this fix: https://github.com/ruby/ruby/commit/fc2f196cb8542a81bf271cdb90e0189c54321103
Nevertheless it makes sense to gemify it and to move it to it's own repository.
I use a massively extended version of this file at work, maybe this can be included then.
IMHO there's no need to keep it in the ruby distribution.

win32-resolv
---------
I don't have a strong opinion reg. `win32/resolv` and never had a reason to use this platform dependent API instead of the cross platform functions in the `socket` library.
Maybe it had a use in the past.




-- 
https://bugs.ruby-lang.org/
 ______________________________________________
 ruby-core mailing list -- ruby-core@ml.ruby-lang.org
 To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
 ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/

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

* [ruby-core:119395] [Ruby master Feature#20775] Gemify win32-registry, win32-sspi and win32-resolv
  2024-10-01 19:36 [ruby-core:119390] [Ruby master Feature#20775] Gemify win32-registry, win32-sspi and win32-resolv larskanis (Lars Kanis) via ruby-core
  2024-10-02  2:38 ` [ruby-core:119393] " nobu (Nobuyoshi Nakada) via ruby-core
  2024-10-02  3:10 ` [ruby-core:119394] " hsbt (Hiroshi SHIBATA) via ruby-core
@ 2024-10-02  4:52 ` hsbt (Hiroshi SHIBATA) via ruby-core
  2024-10-02  8:56 ` [ruby-core:119397] " hsbt (Hiroshi SHIBATA) via ruby-core
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: hsbt (Hiroshi SHIBATA) via ruby-core @ 2024-10-02  4:52 UTC (permalink / raw)
  To: ruby-core; +Cc: hsbt (Hiroshi SHIBATA)

Issue #20775 has been updated by hsbt (Hiroshi SHIBATA).


>My intention is that the repository can be moved to https://github.com/ruby/win32-registry and can be integrated it into ruby.

Can you add my GitHub account (hsbt) to that repository as admin? After that, I will transfer to under the Ruby org.

----------------------------------------
Feature #20775: Gemify win32-registry, win32-sspi and win32-resolv
https://bugs.ruby-lang.org/issues/20775#change-110011

* Author: larskanis (Lars Kanis)
* Status: Assigned
* Assignee: hsbt (Hiroshi SHIBATA)
----------------------------------------
Many libraries bundled with ruby have been gemified and were separated into it's own repository.
Not so far the 3 win32 libraries: https://github.com/ruby/ruby/tree/master/ext/win32/lib/win32
* win32/registry
* win32/resolv
* win32/sspi

win32-registry
-----------

I started with win32/registry in https://github.com/larskanis/win32-registry

* separate all commit into it's own repository,
* make it a gem,
* add proper test cases to verify the core functions,
* add a GHA workflow to run the tests,
* add a single commit to change to consistent UTF-8 string output (see https://bugs.ruby-lang.org/issues/20774)

My intention is that the repository can be moved to https://github.com/ruby/win32-registry and can be integrated it into ruby.
However I think `win32/registry` should permanently stay a bundled gem, since the registry access is a core functionality on Windows, so it should always be in the core ruby distribution.

win32-sspi
-----------
Regarding `win32/sspi` I doubt that anyone is using this library.
It was completely broken since ruby-3.0 until some days ago due to this fix: https://github.com/ruby/ruby/commit/fc2f196cb8542a81bf271cdb90e0189c54321103
Nevertheless it makes sense to gemify it and to move it to it's own repository.
I use a massively extended version of this file at work, maybe this can be included then.
IMHO there's no need to keep it in the ruby distribution.

win32-resolv
---------
I don't have a strong opinion reg. `win32/resolv` and never had a reason to use this platform dependent API instead of the cross platform functions in the `socket` library.
Maybe it had a use in the past.




-- 
https://bugs.ruby-lang.org/
 ______________________________________________
 ruby-core mailing list -- ruby-core@ml.ruby-lang.org
 To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
 ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/

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

* [ruby-core:119397] [Ruby master Feature#20775] Gemify win32-registry, win32-sspi and win32-resolv
  2024-10-01 19:36 [ruby-core:119390] [Ruby master Feature#20775] Gemify win32-registry, win32-sspi and win32-resolv larskanis (Lars Kanis) via ruby-core
                   ` (2 preceding siblings ...)
  2024-10-02  4:52 ` [ruby-core:119395] " hsbt (Hiroshi SHIBATA) via ruby-core
@ 2024-10-02  8:56 ` hsbt (Hiroshi SHIBATA) via ruby-core
  2024-10-02  9:27 ` [ruby-core:119398] " larskanis (Lars Kanis) via ruby-core
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: hsbt (Hiroshi SHIBATA) via ruby-core @ 2024-10-02  8:56 UTC (permalink / raw)
  To: ruby-core; +Cc: hsbt (Hiroshi SHIBATA)

Issue #20775 has been updated by hsbt (Hiroshi SHIBATA).


@larskanis Thanks to invite me for https://github.com/larskanis/win32-registry. But I can't see `Settings` tab yet. Can you make me `admin` of that repository?

I consider to extract `net-http-sspi` from `win32/sspi` with nobu because `win32/sspi` only called by `net-http`.

----------------------------------------
Feature #20775: Gemify win32-registry, win32-sspi and win32-resolv
https://bugs.ruby-lang.org/issues/20775#change-110013

* Author: larskanis (Lars Kanis)
* Status: Assigned
* Assignee: hsbt (Hiroshi SHIBATA)
----------------------------------------
Many libraries bundled with ruby have been gemified and were separated into it's own repository.
Not so far the 3 win32 libraries: https://github.com/ruby/ruby/tree/master/ext/win32/lib/win32
* win32/registry
* win32/resolv
* win32/sspi

win32-registry
-----------

I started with win32/registry in https://github.com/larskanis/win32-registry

* separate all commit into it's own repository,
* make it a gem,
* add proper test cases to verify the core functions,
* add a GHA workflow to run the tests,
* add a single commit to change to consistent UTF-8 string output (see https://bugs.ruby-lang.org/issues/20774)

My intention is that the repository can be moved to https://github.com/ruby/win32-registry and can be integrated it into ruby.
However I think `win32/registry` should permanently stay a bundled gem, since the registry access is a core functionality on Windows, so it should always be in the core ruby distribution.

win32-sspi
-----------
Regarding `win32/sspi` I doubt that anyone is using this library.
It was completely broken since ruby-3.0 until some days ago due to this fix: https://github.com/ruby/ruby/commit/fc2f196cb8542a81bf271cdb90e0189c54321103
Nevertheless it makes sense to gemify it and to move it to it's own repository.
I use a massively extended version of this file at work, maybe this can be included then.
IMHO there's no need to keep it in the ruby distribution.

win32-resolv
---------
I don't have a strong opinion reg. `win32/resolv` and never had a reason to use this platform dependent API instead of the cross platform functions in the `socket` library.
Maybe it had a use in the past.




-- 
https://bugs.ruby-lang.org/
 ______________________________________________
 ruby-core mailing list -- ruby-core@ml.ruby-lang.org
 To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
 ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/

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

* [ruby-core:119398] [Ruby master Feature#20775] Gemify win32-registry, win32-sspi and win32-resolv
  2024-10-01 19:36 [ruby-core:119390] [Ruby master Feature#20775] Gemify win32-registry, win32-sspi and win32-resolv larskanis (Lars Kanis) via ruby-core
                   ` (3 preceding siblings ...)
  2024-10-02  8:56 ` [ruby-core:119397] " hsbt (Hiroshi SHIBATA) via ruby-core
@ 2024-10-02  9:27 ` larskanis (Lars Kanis) via ruby-core
  2024-10-02  9:37 ` [ruby-core:119399] " hsbt (Hiroshi SHIBATA) via ruby-core
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: larskanis (Lars Kanis) via ruby-core @ 2024-10-02  9:27 UTC (permalink / raw)
  To: ruby-core; +Cc: larskanis (Lars Kanis)

Issue #20775 has been updated by larskanis (Lars Kanis).


@hsbt I had to move the repository to an organization, in order to give you admin access. The new address is: https://github.com/oneclick/win32-registry

----------------------------------------
Feature #20775: Gemify win32-registry, win32-sspi and win32-resolv
https://bugs.ruby-lang.org/issues/20775#change-110014

* Author: larskanis (Lars Kanis)
* Status: Assigned
* Assignee: hsbt (Hiroshi SHIBATA)
----------------------------------------
Many libraries bundled with ruby have been gemified and were separated into it's own repository.
Not so far the 3 win32 libraries: https://github.com/ruby/ruby/tree/master/ext/win32/lib/win32
* win32/registry
* win32/resolv
* win32/sspi

win32-registry
-----------

I started with win32/registry in https://github.com/larskanis/win32-registry

* separate all commit into it's own repository,
* make it a gem,
* add proper test cases to verify the core functions,
* add a GHA workflow to run the tests,
* add a single commit to change to consistent UTF-8 string output (see https://bugs.ruby-lang.org/issues/20774)

My intention is that the repository can be moved to https://github.com/ruby/win32-registry and can be integrated it into ruby.
However I think `win32/registry` should permanently stay a bundled gem, since the registry access is a core functionality on Windows, so it should always be in the core ruby distribution.

win32-sspi
-----------
Regarding `win32/sspi` I doubt that anyone is using this library.
It was completely broken since ruby-3.0 until some days ago due to this fix: https://github.com/ruby/ruby/commit/fc2f196cb8542a81bf271cdb90e0189c54321103
Nevertheless it makes sense to gemify it and to move it to it's own repository.
I use a massively extended version of this file at work, maybe this can be included then.
IMHO there's no need to keep it in the ruby distribution.

win32-resolv
---------
I don't have a strong opinion reg. `win32/resolv` and never had a reason to use this platform dependent API instead of the cross platform functions in the `socket` library.
Maybe it had a use in the past.




-- 
https://bugs.ruby-lang.org/
 ______________________________________________
 ruby-core mailing list -- ruby-core@ml.ruby-lang.org
 To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
 ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/

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

* [ruby-core:119399] [Ruby master Feature#20775] Gemify win32-registry, win32-sspi and win32-resolv
  2024-10-01 19:36 [ruby-core:119390] [Ruby master Feature#20775] Gemify win32-registry, win32-sspi and win32-resolv larskanis (Lars Kanis) via ruby-core
                   ` (4 preceding siblings ...)
  2024-10-02  9:27 ` [ruby-core:119398] " larskanis (Lars Kanis) via ruby-core
@ 2024-10-02  9:37 ` hsbt (Hiroshi SHIBATA) via ruby-core
  2024-10-02 11:47 ` [ruby-core:119400] " nobu (Nobuyoshi Nakada) via ruby-core
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: hsbt (Hiroshi SHIBATA) via ruby-core @ 2024-10-02  9:37 UTC (permalink / raw)
  To: ruby-core; +Cc: hsbt (Hiroshi SHIBATA)

Issue #20775 has been updated by hsbt (Hiroshi SHIBATA).


Thanks! I transferred it to https://github.com/ruby/win32-registry. I keep you as admin on ruby/win32-registry.

----------------------------------------
Feature #20775: Gemify win32-registry, win32-sspi and win32-resolv
https://bugs.ruby-lang.org/issues/20775#change-110015

* Author: larskanis (Lars Kanis)
* Status: Assigned
* Assignee: hsbt (Hiroshi SHIBATA)
----------------------------------------
Many libraries bundled with ruby have been gemified and were separated into it's own repository.
Not so far the 3 win32 libraries: https://github.com/ruby/ruby/tree/master/ext/win32/lib/win32
* win32/registry
* win32/resolv
* win32/sspi

win32-registry
-----------

I started with win32/registry in https://github.com/larskanis/win32-registry

* separate all commit into it's own repository,
* make it a gem,
* add proper test cases to verify the core functions,
* add a GHA workflow to run the tests,
* add a single commit to change to consistent UTF-8 string output (see https://bugs.ruby-lang.org/issues/20774)

My intention is that the repository can be moved to https://github.com/ruby/win32-registry and can be integrated it into ruby.
However I think `win32/registry` should permanently stay a bundled gem, since the registry access is a core functionality on Windows, so it should always be in the core ruby distribution.

win32-sspi
-----------
Regarding `win32/sspi` I doubt that anyone is using this library.
It was completely broken since ruby-3.0 until some days ago due to this fix: https://github.com/ruby/ruby/commit/fc2f196cb8542a81bf271cdb90e0189c54321103
Nevertheless it makes sense to gemify it and to move it to it's own repository.
I use a massively extended version of this file at work, maybe this can be included then.
IMHO there's no need to keep it in the ruby distribution.

win32-resolv
---------
I don't have a strong opinion reg. `win32/resolv` and never had a reason to use this platform dependent API instead of the cross platform functions in the `socket` library.
Maybe it had a use in the past.




-- 
https://bugs.ruby-lang.org/
 ______________________________________________
 ruby-core mailing list -- ruby-core@ml.ruby-lang.org
 To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
 ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/

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

* [ruby-core:119400] [Ruby master Feature#20775] Gemify win32-registry, win32-sspi and win32-resolv
  2024-10-01 19:36 [ruby-core:119390] [Ruby master Feature#20775] Gemify win32-registry, win32-sspi and win32-resolv larskanis (Lars Kanis) via ruby-core
                   ` (5 preceding siblings ...)
  2024-10-02  9:37 ` [ruby-core:119399] " hsbt (Hiroshi SHIBATA) via ruby-core
@ 2024-10-02 11:47 ` nobu (Nobuyoshi Nakada) via ruby-core
  2024-10-02 12:31 ` [ruby-core:119403] " larskanis (Lars Kanis) via ruby-core
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: nobu (Nobuyoshi Nakada) via ruby-core @ 2024-10-02 11:47 UTC (permalink / raw)
  To: ruby-core; +Cc: nobu (Nobuyoshi Nakada)

Issue #20775 has been updated by nobu (Nobuyoshi Nakada).


The test file in https://github.com/larskanis/win32-registry seems quite different from the one in ruby/ruby.
Is it intentional?

----------------------------------------
Feature #20775: Gemify win32-registry, win32-sspi and win32-resolv
https://bugs.ruby-lang.org/issues/20775#change-110016

* Author: larskanis (Lars Kanis)
* Status: Assigned
* Assignee: hsbt (Hiroshi SHIBATA)
----------------------------------------
Many libraries bundled with ruby have been gemified and were separated into it's own repository.
Not so far the 3 win32 libraries: https://github.com/ruby/ruby/tree/master/ext/win32/lib/win32
* win32/registry
* win32/resolv
* win32/sspi

win32-registry
-----------

I started with win32/registry in https://github.com/larskanis/win32-registry

* separate all commit into it's own repository,
* make it a gem,
* add proper test cases to verify the core functions,
* add a GHA workflow to run the tests,
* add a single commit to change to consistent UTF-8 string output (see https://bugs.ruby-lang.org/issues/20774)

My intention is that the repository can be moved to https://github.com/ruby/win32-registry and can be integrated it into ruby.
However I think `win32/registry` should permanently stay a bundled gem, since the registry access is a core functionality on Windows, so it should always be in the core ruby distribution.

win32-sspi
-----------
Regarding `win32/sspi` I doubt that anyone is using this library.
It was completely broken since ruby-3.0 until some days ago due to this fix: https://github.com/ruby/ruby/commit/fc2f196cb8542a81bf271cdb90e0189c54321103
Nevertheless it makes sense to gemify it and to move it to it's own repository.
I use a massively extended version of this file at work, maybe this can be included then.
IMHO there's no need to keep it in the ruby distribution.

win32-resolv
---------
I don't have a strong opinion reg. `win32/resolv` and never had a reason to use this platform dependent API instead of the cross platform functions in the `socket` library.
Maybe it had a use in the past.




-- 
https://bugs.ruby-lang.org/
 ______________________________________________
 ruby-core mailing list -- ruby-core@ml.ruby-lang.org
 To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
 ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/

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

* [ruby-core:119403] [Ruby master Feature#20775] Gemify win32-registry, win32-sspi and win32-resolv
  2024-10-01 19:36 [ruby-core:119390] [Ruby master Feature#20775] Gemify win32-registry, win32-sspi and win32-resolv larskanis (Lars Kanis) via ruby-core
                   ` (6 preceding siblings ...)
  2024-10-02 11:47 ` [ruby-core:119400] " nobu (Nobuyoshi Nakada) via ruby-core
@ 2024-10-02 12:31 ` larskanis (Lars Kanis) via ruby-core
  2024-10-02 13:28 ` [ruby-core:119404] " larskanis (Lars Kanis) via ruby-core
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: larskanis (Lars Kanis) via ruby-core @ 2024-10-02 12:31 UTC (permalink / raw)
  To: ruby-core; +Cc: larskanis (Lars Kanis)

Issue #20775 has been updated by larskanis (Lars Kanis).


> The test file in https://github.com/larskanis/win32-registry seems quite different from the one in ruby/ruby.

Oh this is new! I created the win32-registry repository 10 months ago, when your test wasn't written. So I wrote my own. I'll merge them.

----------------------------------------
Feature #20775: Gemify win32-registry, win32-sspi and win32-resolv
https://bugs.ruby-lang.org/issues/20775#change-110018

* Author: larskanis (Lars Kanis)
* Status: Assigned
* Assignee: hsbt (Hiroshi SHIBATA)
----------------------------------------
Many libraries bundled with ruby have been gemified and were separated into it's own repository.
Not so far the 3 win32 libraries: https://github.com/ruby/ruby/tree/master/ext/win32/lib/win32
* win32/registry
* win32/resolv
* win32/sspi

win32-registry
-----------

I started with win32/registry in https://github.com/larskanis/win32-registry

* separate all commit into it's own repository,
* make it a gem,
* add proper test cases to verify the core functions,
* add a GHA workflow to run the tests,
* add a single commit to change to consistent UTF-8 string output (see https://bugs.ruby-lang.org/issues/20774)

My intention is that the repository can be moved to https://github.com/ruby/win32-registry and can be integrated it into ruby.
However I think `win32/registry` should permanently stay a bundled gem, since the registry access is a core functionality on Windows, so it should always be in the core ruby distribution.

win32-sspi
-----------
Regarding `win32/sspi` I doubt that anyone is using this library.
It was completely broken since ruby-3.0 until some days ago due to this fix: https://github.com/ruby/ruby/commit/fc2f196cb8542a81bf271cdb90e0189c54321103
Nevertheless it makes sense to gemify it and to move it to it's own repository.
I use a massively extended version of this file at work, maybe this can be included then.
IMHO there's no need to keep it in the ruby distribution.

win32-resolv
---------
I don't have a strong opinion reg. `win32/resolv` and never had a reason to use this platform dependent API instead of the cross platform functions in the `socket` library.
Maybe it had a use in the past.




-- 
https://bugs.ruby-lang.org/
 ______________________________________________
 ruby-core mailing list -- ruby-core@ml.ruby-lang.org
 To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
 ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/

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

* [ruby-core:119404] [Ruby master Feature#20775] Gemify win32-registry, win32-sspi and win32-resolv
  2024-10-01 19:36 [ruby-core:119390] [Ruby master Feature#20775] Gemify win32-registry, win32-sspi and win32-resolv larskanis (Lars Kanis) via ruby-core
                   ` (7 preceding siblings ...)
  2024-10-02 12:31 ` [ruby-core:119403] " larskanis (Lars Kanis) via ruby-core
@ 2024-10-02 13:28 ` larskanis (Lars Kanis) via ruby-core
  2024-10-04  8:57 ` [ruby-core:119443] " hsbt (Hiroshi SHIBATA) via ruby-core
  2024-10-08  8:13 ` [ruby-core:119481] " hsbt (Hiroshi SHIBATA) via ruby-core
  10 siblings, 0 replies; 12+ messages in thread
From: larskanis (Lars Kanis) via ruby-core @ 2024-10-02 13:28 UTC (permalink / raw)
  To: ruby-core; +Cc: larskanis (Lars Kanis)

Issue #20775 has been updated by larskanis (Lars Kanis).


I opened a pull request to merge nobu's and my tests together: https://github.com/ruby/win32-registry/pull/3

@hsbt You left me as the only maintainer for win32-registry. Is it expected that I maintain this library from now on?
How about the integration into ruby/ruby - do I have to do anything to support this?
I'm new to maintaining an official ruby stdlib library, so please tell me if I do anything wrong.


----------------------------------------
Feature #20775: Gemify win32-registry, win32-sspi and win32-resolv
https://bugs.ruby-lang.org/issues/20775#change-110019

* Author: larskanis (Lars Kanis)
* Status: Assigned
* Assignee: hsbt (Hiroshi SHIBATA)
----------------------------------------
Many libraries bundled with ruby have been gemified and were separated into it's own repository.
Not so far the 3 win32 libraries: https://github.com/ruby/ruby/tree/master/ext/win32/lib/win32
* win32/registry
* win32/resolv
* win32/sspi

win32-registry
-----------

I started with win32/registry in https://github.com/larskanis/win32-registry

* separate all commit into it's own repository,
* make it a gem,
* add proper test cases to verify the core functions,
* add a GHA workflow to run the tests,
* add a single commit to change to consistent UTF-8 string output (see https://bugs.ruby-lang.org/issues/20774)

My intention is that the repository can be moved to https://github.com/ruby/win32-registry and can be integrated it into ruby.
However I think `win32/registry` should permanently stay a bundled gem, since the registry access is a core functionality on Windows, so it should always be in the core ruby distribution.

win32-sspi
-----------
Regarding `win32/sspi` I doubt that anyone is using this library.
It was completely broken since ruby-3.0 until some days ago due to this fix: https://github.com/ruby/ruby/commit/fc2f196cb8542a81bf271cdb90e0189c54321103
Nevertheless it makes sense to gemify it and to move it to it's own repository.
I use a massively extended version of this file at work, maybe this can be included then.
IMHO there's no need to keep it in the ruby distribution.

win32-resolv
---------
I don't have a strong opinion reg. `win32/resolv` and never had a reason to use this platform dependent API instead of the cross platform functions in the `socket` library.
Maybe it had a use in the past.




-- 
https://bugs.ruby-lang.org/
 ______________________________________________
 ruby-core mailing list -- ruby-core@ml.ruby-lang.org
 To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
 ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/

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

* [ruby-core:119443] [Ruby master Feature#20775] Gemify win32-registry, win32-sspi and win32-resolv
  2024-10-01 19:36 [ruby-core:119390] [Ruby master Feature#20775] Gemify win32-registry, win32-sspi and win32-resolv larskanis (Lars Kanis) via ruby-core
                   ` (8 preceding siblings ...)
  2024-10-02 13:28 ` [ruby-core:119404] " larskanis (Lars Kanis) via ruby-core
@ 2024-10-04  8:57 ` hsbt (Hiroshi SHIBATA) via ruby-core
  2024-10-08  8:13 ` [ruby-core:119481] " hsbt (Hiroshi SHIBATA) via ruby-core
  10 siblings, 0 replies; 12+ messages in thread
From: hsbt (Hiroshi SHIBATA) via ruby-core @ 2024-10-04  8:57 UTC (permalink / raw)
  To: ruby-core; +Cc: hsbt (Hiroshi SHIBATA)

Issue #20775 has been updated by hsbt (Hiroshi SHIBATA).


I prepared to sync `ruby/ruby` and `ruby/win32-registry`.

I found some question for your changes. Can you look https://github.com/ruby/win32-registry/pull/5 ?



----------------------------------------
Feature #20775: Gemify win32-registry, win32-sspi and win32-resolv
https://bugs.ruby-lang.org/issues/20775#change-110062

* Author: larskanis (Lars Kanis)
* Status: Assigned
* Assignee: hsbt (Hiroshi SHIBATA)
----------------------------------------
Many libraries bundled with ruby have been gemified and were separated into it's own repository.
Not so far the 3 win32 libraries: https://github.com/ruby/ruby/tree/master/ext/win32/lib/win32
* win32/registry
* win32/resolv
* win32/sspi

win32-registry
-----------

I started with win32/registry in https://github.com/larskanis/win32-registry

* separate all commit into it's own repository,
* make it a gem,
* add proper test cases to verify the core functions,
* add a GHA workflow to run the tests,
* add a single commit to change to consistent UTF-8 string output (see https://bugs.ruby-lang.org/issues/20774)

My intention is that the repository can be moved to https://github.com/ruby/win32-registry and can be integrated it into ruby.
However I think `win32/registry` should permanently stay a bundled gem, since the registry access is a core functionality on Windows, so it should always be in the core ruby distribution.

win32-sspi
-----------
Regarding `win32/sspi` I doubt that anyone is using this library.
It was completely broken since ruby-3.0 until some days ago due to this fix: https://github.com/ruby/ruby/commit/fc2f196cb8542a81bf271cdb90e0189c54321103
Nevertheless it makes sense to gemify it and to move it to it's own repository.
I use a massively extended version of this file at work, maybe this can be included then.
IMHO there's no need to keep it in the ruby distribution.

win32-resolv
---------
I don't have a strong opinion reg. `win32/resolv` and never had a reason to use this platform dependent API instead of the cross platform functions in the `socket` library.
Maybe it had a use in the past.




-- 
https://bugs.ruby-lang.org/
 ______________________________________________
 ruby-core mailing list -- ruby-core@ml.ruby-lang.org
 To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
 ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/

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

* [ruby-core:119481] [Ruby master Feature#20775] Gemify win32-registry, win32-sspi and win32-resolv
  2024-10-01 19:36 [ruby-core:119390] [Ruby master Feature#20775] Gemify win32-registry, win32-sspi and win32-resolv larskanis (Lars Kanis) via ruby-core
                   ` (9 preceding siblings ...)
  2024-10-04  8:57 ` [ruby-core:119443] " hsbt (Hiroshi SHIBATA) via ruby-core
@ 2024-10-08  8:13 ` hsbt (Hiroshi SHIBATA) via ruby-core
  10 siblings, 0 replies; 12+ messages in thread
From: hsbt (Hiroshi SHIBATA) via ruby-core @ 2024-10-08  8:13 UTC (permalink / raw)
  To: ruby-core; +Cc: hsbt (Hiroshi SHIBATA)

Issue #20775 has been updated by hsbt (Hiroshi SHIBATA).


I and @nobu removed `win32-sspi` from ruby repository.

https://github.com/ruby/ruby/pull/11829

We will do minimum maintenance win32-sspi library at https://github.com/ruby/win32-sspi.

----------------------------------------
Feature #20775: Gemify win32-registry, win32-sspi and win32-resolv
https://bugs.ruby-lang.org/issues/20775#change-110098

* Author: larskanis (Lars Kanis)
* Status: Assigned
* Assignee: hsbt (Hiroshi SHIBATA)
----------------------------------------
Many libraries bundled with ruby have been gemified and were separated into it's own repository.
Not so far the 3 win32 libraries: https://github.com/ruby/ruby/tree/master/ext/win32/lib/win32
* win32/registry
* win32/resolv
* win32/sspi

win32-registry
-----------

I started with win32/registry in https://github.com/larskanis/win32-registry

* separate all commit into it's own repository,
* make it a gem,
* add proper test cases to verify the core functions,
* add a GHA workflow to run the tests,
* add a single commit to change to consistent UTF-8 string output (see https://bugs.ruby-lang.org/issues/20774)

My intention is that the repository can be moved to https://github.com/ruby/win32-registry and can be integrated it into ruby.
However I think `win32/registry` should permanently stay a bundled gem, since the registry access is a core functionality on Windows, so it should always be in the core ruby distribution.

win32-sspi
-----------
Regarding `win32/sspi` I doubt that anyone is using this library.
It was completely broken since ruby-3.0 until some days ago due to this fix: https://github.com/ruby/ruby/commit/fc2f196cb8542a81bf271cdb90e0189c54321103
Nevertheless it makes sense to gemify it and to move it to it's own repository.
I use a massively extended version of this file at work, maybe this can be included then.
IMHO there's no need to keep it in the ruby distribution.

win32-resolv
---------
I don't have a strong opinion reg. `win32/resolv` and never had a reason to use this platform dependent API instead of the cross platform functions in the `socket` library.
Maybe it had a use in the past.




-- 
https://bugs.ruby-lang.org/
 ______________________________________________
 ruby-core mailing list -- ruby-core@ml.ruby-lang.org
 To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
 ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/

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

end of thread, other threads:[~2024-10-08  8:13 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-01 19:36 [ruby-core:119390] [Ruby master Feature#20775] Gemify win32-registry, win32-sspi and win32-resolv larskanis (Lars Kanis) via ruby-core
2024-10-02  2:38 ` [ruby-core:119393] " nobu (Nobuyoshi Nakada) via ruby-core
2024-10-02  3:10 ` [ruby-core:119394] " hsbt (Hiroshi SHIBATA) via ruby-core
2024-10-02  4:52 ` [ruby-core:119395] " hsbt (Hiroshi SHIBATA) via ruby-core
2024-10-02  8:56 ` [ruby-core:119397] " hsbt (Hiroshi SHIBATA) via ruby-core
2024-10-02  9:27 ` [ruby-core:119398] " larskanis (Lars Kanis) via ruby-core
2024-10-02  9:37 ` [ruby-core:119399] " hsbt (Hiroshi SHIBATA) via ruby-core
2024-10-02 11:47 ` [ruby-core:119400] " nobu (Nobuyoshi Nakada) via ruby-core
2024-10-02 12:31 ` [ruby-core:119403] " larskanis (Lars Kanis) via ruby-core
2024-10-02 13:28 ` [ruby-core:119404] " larskanis (Lars Kanis) via ruby-core
2024-10-04  8:57 ` [ruby-core:119443] " hsbt (Hiroshi SHIBATA) via ruby-core
2024-10-08  8:13 ` [ruby-core:119481] " hsbt (Hiroshi SHIBATA) via ruby-core

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 NNTP newsgroup(s).