From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on starla X-Spam-Level: X-Spam-Status: No, score=0.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_BL_SPAMCOP_NET,SPF_HELO_PASS, SPF_PASS autolearn=no autolearn_force=no version=3.4.6 Received: from nue.mailmanlists.eu (nue.mailmanlists.eu [94.130.110.93]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 56AB21F5CB for ; Wed, 2 Oct 2024 08:56:55 +0000 (UTC) Authentication-Results: dcvr.yhbt.net; dkim=pass (1024-bit key; unprotected) header.d=ml.ruby-lang.org header.i=@ml.ruby-lang.org header.a=rsa-sha256 header.s=mail header.b=ZxBEBq+k; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=ruby-lang.org header.i=@ruby-lang.org header.a=rsa-sha256 header.s=s1 header.b=fvJRcDO6; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ml.ruby-lang.org; s=mail; t=1727859382; bh=rssBAHkDRQnB8nnRZ5MdqWoGTqTic5HVzKZ4WliwcSQ=; h=Date:References:To:Reply-To:Subject:List-Id:List-Archive: List-Help:List-Owner:List-Post:List-Subscribe:List-Unsubscribe: From:Cc:From; b=ZxBEBq+kAiF5/D5shSyScuD3LLWk7+WzS2Sg9CcL6qC/g8LyC088yPit6Xf/jP/GN xazYDZVFb9Q68oPVTo3yZ3s8ZXVe5QSPdSksnHZ8zjMGtpSnAoMmLUgBGmzVnt5DtE rfmIQ8HC99kTZbBlyyTdRlKInebF3dwG/QaF/Lpo= Received: from nue.mailmanlists.eu (localhost [IPv6:::1]) by nue.mailmanlists.eu (Postfix) with ESMTP id 956E743F48 for ; Wed, 2 Oct 2024 08:56:22 +0000 (UTC) Authentication-Results: nue.mailmanlists.eu; dkim=pass (2048-bit key; unprotected) header.d=ruby-lang.org header.i=@ruby-lang.org header.a=rsa-sha256 header.s=s1 header.b=fvJRcDO6; dkim-atps=neutral Received: from s.wrqvtzvf.outbound-mail.sendgrid.net (s.wrqvtzvf.outbound-mail.sendgrid.net [149.72.126.143]) by nue.mailmanlists.eu (Postfix) with ESMTPS id D73C443EB4 for ; Wed, 2 Oct 2024 08:56:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ruby-lang.org; h=from:references:subject:mime-version:content-type: content-transfer-encoding:list-id:to:cc:content-type:from:subject:to; s=s1; bh=D5WkhUI1AIWNFge7mIatNGup0F/sN2X9Ok2sKS8cNVA=; b=fvJRcDO6qjfGSlSjJ8f89yXxmtj2v6bCxFmjuhvI3/19cA15/4Nqta9j7pAZO+9hpZzz cpVqfeFW+Wg+zPGmJp7WOmC5DapLa1/Ysx+92qCIovB+valeMulnz1kJ2nyIQxJsP3h9th 5EyuHpHqi74k4LQSI/vtBQw+nxviGMw9oDquGWOYCxkHTx8DKXJ9jMREoTNoal/HtgEdGM hbVauka0EdR69NajsBCxTjJ1KsG9VGTFcukihOtTOwvNH6iBrBpPsfNTEhu+xAdjtiquLX gBEUNCC+ZDRXvNINEk4uU3E3/wl221yUYzpXJ1sZ4TVLFu/jedlBaQJT6+eoG4xA== Received: by recvd-d66cff667-5gwwj with SMTP id recvd-d66cff667-5gwwj-1-66FD0AAB-7 2024-10-02 08:56:11.350280989 +0000 UTC m=+1695497.051626527 Received: from herokuapp.com (unknown) by geopod-ismtpd-23 (SG) with ESMTP id B3wCX2BDQ8a_E3k2qr5nsw for ; Wed, 02 Oct 2024 08:56:11.299 +0000 (UTC) Date: Wed, 02 Oct 2024 08:56:11 +0000 (UTC) Message-ID: References: Mime-Version: 1.0 X-Redmine-Project: ruby-master X-Redmine-Issue-Tracker: Feature X-Redmine-Issue-Id: 20775 X-Redmine-Issue-Author: larskanis X-Redmine-Issue-Assignee: hsbt X-Redmine-Issue-Priority: Normal X-Redmine-Sender: hsbt X-Mailer: Redmine X-Redmine-Host: bugs.ruby-lang.org X-Redmine-Site: Ruby Issue Tracking System X-Auto-Response-Suppress: All Auto-Submitted: auto-generated X-Redmine-MailingListIntegration-Message-Ids: 96034 X-SG-EID: =?us-ascii?Q?u001=2ESNtsfy=2FRYrUmxOeGSN+Ah1new64UppKFg8YOAgra6KK6sIhqEP6LswYh4?= =?us-ascii?Q?tCf2AhAD20FCmXanLCSpdJ9Heq83FKB1eeA=2FIRz?= =?us-ascii?Q?=2FUFVHcMb3GParCS6uVGTbq00JYBOj8XqNM=2FEzoz?= =?us-ascii?Q?zUq24VsiOzuTzORrSYFBsf3gj91itDg9x0WxqMz?= =?us-ascii?Q?=2FaZd4PNuq09D3Akj=2FNkaMbEsP=2FfKRiXnYbsM+se?= =?us-ascii?Q?D=2FtX4ScmyElDMzpURFFmCUl4l+7Txah9kkm2DGR?= =?us-ascii?Q?qa=2Fgowc60=2FTEcUB=2FCrSh0w0Y3g=3D=3D?= To: ruby-core@ml.ruby-lang.org X-Entity-ID: u001.I8uzylDtAfgbeCOeLBYDww== Message-ID-Hash: 6B34WD74E77JS5YP5EB3GHTOTE2UXNM4 X-Message-ID-Hash: 6B34WD74E77JS5YP5EB3GHTOTE2UXNM4 X-MailFrom: bounces+313651-b711-ruby-core=ml.ruby-lang.org@em5188.ruby-lang.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list Reply-To: Ruby developers Subject: [ruby-core:119397] [Ruby master Feature#20775] Gemify win32-registry, win32-sspi and win32-resolv List-Id: Ruby developers Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: "hsbt (Hiroshi SHIBATA) via ruby-core" Cc: "hsbt (Hiroshi SHIBATA)" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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/