Message ID | CA+sCei3rYJbia_nKqos3cv+9V1_E1wMWSR3MgeS8vXV4r9TT=w@mail.gmail.com |
---|---|
State | Accepted |
Headers |
Return-Path: <location-bounces@lists.ipfire.org> Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4FJpm92y1Pz3yBW for <patchwork@web04.haj.ipfire.org>; Mon, 12 Apr 2021 13:02:01 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4FJpm90wT3zhP; Mon, 12 Apr 2021 13:02:01 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4FJpm90H3pz2xZr; Mon, 12 Apr 2021 13:02:01 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4FJpm75Xs7z2xCd for <location@lists.ipfire.org>; Mon, 12 Apr 2021 13:01:59 +0000 (UTC) Received: from mail-io1-xd2d.google.com (mail-io1-xd2d.google.com [IPv6:2607:f8b0:4864:20::d2d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4FJpm65npDzhP for <location@lists.ipfire.org>; Mon, 12 Apr 2021 13:01:58 +0000 (UTC) Received: by mail-io1-xd2d.google.com with SMTP id f15so4568089iob.5 for <location@lists.ipfire.org>; Mon, 12 Apr 2021 06:01:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=MeCm32HqXGCpw93ukR7x7b0trnlRf9N58s0gkVmn8+4=; b=h9MONC4MRvB7CswUdzvEajzfVNUhtI4aDRzR2qEbuMRGSOTnY+UqpaDnETnWFVZoth 6YfXMSFanRi/VNjN1VXjhTqYsfBzPIdVAyNS+K5TQ6ucBc+p3MJV99So3xmEkCrJ3tSY KApgiR/Exl0Tl7wXJovfLA1Y/baL5rsHJ5jhwP2bZXce3R8X4yTXyPqBC+k25tiAVQkC FzKkyoq6Bs6n+u+SHXpJD4t6vORBuOUXjlx5dMzDpgArdOUOQ+dbX0rDK04XoQAX2Kbc xCODIOiHWaVgwDwvBYRimJ7iLnufcnVlT/11YD4ni59C1wfAoHAOwmoSmqqA3yU1aWXt 7j5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=MeCm32HqXGCpw93ukR7x7b0trnlRf9N58s0gkVmn8+4=; b=LKgGp9aW6XTkIUxV2385e+PQRDKFb3Fdes637x0VyDdcQrhLlySpxVk5ou6dTpF6GO 4k+u4UmTgS58TdOqVT5wj6sX9qfVdVSi0uW4Ja8x1vKhHtLVX/B1EyaiNyVN2tmrgGZa sygKZ9zGkqBgwa9ta9f/5BKsxkU/2Sm8/QDvHlgHGENkCtgg06vztle/0n8FRbDyT+rL A5GRLx9v65wgJe7Bt8VZoVvu6CSuwqoKlvfjNxf5hUW5LepgNjERIK/6BVHpW6/cuwTM 4gBSc5hNyKbC9I5KMZ0N2rQpgOYfJmK6f3hWTx73hDwGUt6trx5X9q75iZVMSPPFEWjr rFIg== X-Gm-Message-State: AOAM533tKLp7u1sjhDUg8vTB09+qfLvICNtyxLFDG4hr10KxznawNnNC hQhNT2yrRSxwzJEI4EuF4Xs3ejm8A0ue6CpvHtxYqAU7CpYv9Q== X-Google-Smtp-Source: ABdhPJzHoKHzHpkMCms2KbupzuQhZiZci/juyjx4NdZiqWQggSVNmaFnxyF7djhsRE/koUX9+QbPltva5ovvBV1kYaE= X-Received: by 2002:a05:6638:14d0:: with SMTP id l16mr27361399jak.41.1618232516905; Mon, 12 Apr 2021 06:01:56 -0700 (PDT) MIME-Version: 1.0 From: Valters Jansons <valter.jansons@gmail.com> Date: Mon, 12 Apr 2021 16:01:45 +0300 Message-ID: <CA+sCei3rYJbia_nKqos3cv+9V1_E1wMWSR3MgeS8vXV4r9TT=w@mail.gmail.com> Subject: [PATCH] debian: Rework historical changelog To: IPFire Location Mailing List <location@lists.ipfire.org> Content-Type: text/plain; charset="UTF-8" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=lists.ipfire.org; s=202003rsa; t=1618232518; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: dkim-signature; bh=MeCm32HqXGCpw93ukR7x7b0trnlRf9N58s0gkVmn8+4=; b=PtEehnzceGOfA0qyKZUlFg1z4SkkTBYfsbDc9ZwDJxb7v2z3e1GOMJ8jMJFI0bekr3OmOk w28G80bFfzB+UazWPVWm28pffPzK4Fef6wJwMxiIcwFNHO+wNDurnmrdMGgQX4LNfuKSdj zSIgTjK9ura8645LDpnfXPXEYy9b3Aru2suFMZ0KDCLqRf9/ZW87niDQZYBR85waPOr6I+ F3T4lTQ3NVPeXPtoMYTawVCwX0zyDXXZQLVzpMXIkxoZbXthhQE3DBh7jseGF09cO6qFGa ym3Q8wG1+IyPqAQYPb/QjtmaT3qZgHJ4NjcSjOr9uk0zNtIqsoAARgzu1MltYw== ARC-Authentication-Results: i=1; mail01.ipfire.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=h9MONC4M; spf=pass (mail01.ipfire.org: domain of valterjansons@gmail.com designates 2607:f8b0:4864:20::d2d as permitted sender) smtp.mailfrom=valterjansons@gmail.com ARC-Seal: i=1; s=202003rsa; d=lists.ipfire.org; t=1618232518; a=rsa-sha256; cv=none; b=smB7+Ucnp+S8hhSvxAKWPzaqVW2jvYojKV7eaPIlYKJ36vJGaI4YSyCD0AmMx2v1BRhfQN 9baxJuHy918tKZdCf9Ix59niMyQUiI+8YnVD0WNb4prvSAcooTA6/wBZVLJV1WPxONEiDI oE6hB0T9M4Ss/sDuAetDwEKAuOoroiW6Y1ne+98pB+vDJyF1wXaryF6ykOSsLd4hZSVteK DbVUn/jCDIeaEs0sZe1KG82/j0XmSyiZ5ymA7VJyX3T9waVXJCblcXIa8zG1USrahZwbuF Ou1emk2EcrXbtR18YaLSM/kSLjHP5se8QPGTgvs0gAWmS1sDfGfni2WD6mVEyw== X-Rspamd-Server: mail01.haj.ipfire.org X-Spamd-Result: default: False [-5.84 / 11.00]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; BAYES_HAM(-3.00)[99.99%]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[location@lists.ipfire.org]; ARC_SIGNED(0.00)[lists.ipfire.org:s=202003rsa:i=1]; RCPT_COUNT_ONE(0.00)[1]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; IP_REPUTATION_HAM(-1.84)[asn: 15169(-0.21), country: US(-0.01), ip: 2607:f8b0:4864:20::(-0.71)]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::d2d:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4FJpm65npDzhP Authentication-Results: mail01.ipfire.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=h9MONC4M; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mail01.ipfire.org: domain of valterjansons@gmail.com designates 2607:f8b0:4864:20::d2d as permitted sender) smtp.mailfrom=valterjansons@gmail.com X-BeenThere: location@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <location.lists.ipfire.org> List-Unsubscribe: <https://lists.ipfire.org/mailman/options/location>, <mailto:location-request@lists.ipfire.org?subject=unsubscribe> List-Archive: <http://lists.ipfire.org/pipermail/location/> List-Post: <mailto:location@lists.ipfire.org> List-Help: <mailto:location-request@lists.ipfire.org?subject=help> List-Subscribe: <https://lists.ipfire.org/mailman/listinfo/location>, <mailto:location-request@lists.ipfire.org?subject=subscribe> Errors-To: location-bounces@lists.ipfire.org Sender: "Location" <location-bounces@lists.ipfire.org> |
Series |
debian: Rework historical changelog
|
|
Commit Message
Valters Jansons
April 12, 2021, 1:01 p.m. UTC
Rewriting history is generally considered a "not-so-good" thing, however here the historical data does not align with best practises and therefore it is beneficial to provide a better example going forward. There is only one initial release. Everything following that should list some kind of release notes or changelog, or at the very least just say something along the lines of "New version" rather than "Initial release". In this commit, the Git history is used for this task, filtering out "Makefile" changes as to retain only changes that are visible to users, excluding building tooling. For Debian packages, upon release, the target distribution should be updated to "unstable" (or "experimental" if preferred for any reason) when a release is finalized. During development, an invalid distribution name is expected to be there for tracking unreleased changes. That is why "UNRELEASED" is the standard way of specifying ongoing development, being an invalid distribution name itself. The "(Closes: #XXXXXX)" tag is intended for linking to Debian bug tracker, such as linking to the initial Intent to Package ticket, or later update/bugfix tickets. There does not appear to be a bug tracker in use for this task here, and the XXXXXX bug ticket number does not take you anywhere. It's therefore better to just remove it. --- debian/changelog | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-)
Comments
Hello Valters, thanks for your patch. Indeed, the historical changelog of libloc currently contains - um - information in a non-optimal fashion. I guess this was due to the lack of time back then, and nobody of us had good experience with packaging stuff for Debian. Thanks for improving this. Eventually, we hoped libloc would be used by other distributions as well, since a decent part of the open source community is facing license trouble after MaxMind changed their terms and conditions. I remember Michael having a discussion with some members of the Debian development team, but my memories fail me when it comes to it's results. Therefore, I am not sure if libloc is ready in a way we would move from "UNRELEASED" to "unstable". On the one hand, it is used in production for IPFire since a while, on the other hand, nobody else is using the libloc _code_ as such - at least no one I am aware of. @Michael: What do you think? Thanks, and best regards, Peter Müller > Rewriting history is generally considered a "not-so-good" thing, > however here the historical data does not align with best practises > and therefore it is beneficial to provide a better example going > forward. > > There is only one initial release. Everything following that should > list some kind of release notes or changelog, or at the very least > just say something along the lines of "New version" rather than > "Initial release". > > In this commit, the Git history is used for this task, > filtering out "Makefile" changes as to retain only changes > that are visible to users, excluding building tooling. > > For Debian packages, upon release, the target distribution should be > updated to "unstable" (or "experimental" if preferred for any reason) > when a release is finalized. During development, an invalid > distribution name is expected to be there for tracking unreleased > changes. That is why "UNRELEASED" is the standard way of specifying > ongoing development, being an invalid distribution name itself. > > The "(Closes: #XXXXXX)" tag is intended for linking to Debian bug > tracker, such as linking to the initial Intent to Package ticket, > or later update/bugfix tickets. There does not appear to be a bug > tracker in use for this task here, and the XXXXXX bug ticket number > does not take you anywhere. It's therefore better to just remove it. > --- > debian/changelog | 15 +++++++++++---- > 1 file changed, 11 insertions(+), 4 deletions(-) > > diff --git a/debian/changelog b/debian/changelog > index e0be397..e58c0ca 100644 > --- a/debian/changelog > +++ b/debian/changelog > @@ -1,11 +1,18 @@ > -libloc (0.9.6-1) UNRELEASED; urgency=medium > +libloc (0.9.6-1) unstable; urgency=medium > > - * Initial release. (Closes: #XXXXXX) > + * location-importer.in: skip networks with unknown country codes > + * location-importer.in: process unaligned IP ranges in RIR data files > + correctly > + * database: Free mmapped countries section > + * location-importer.in: reduce log noise for unusable networks > + * location-importer.in: delete 6to4 IPv6 space as well > + * location-importer.in: fix typo > + * location: Fix list-networks-by-as > > -- Michael Tremer <michael.tremer@ipfire.org> Wed, 31 Mar 2021 14:06:00 +0100 > > -libloc (0.9.5-1) UNRELEASED; urgency=medium > +libloc (0.9.5-1) unstable; urgency=medium > > - * Initial release. (Closes: #XXXXXX) > + * Initial release. > > -- Stefan Schantl <stefan.schantl@ipfire.org> Sun, 27 Oct 2019 18:55:44 +0100 >
On Tue, Apr 13, 2021 at 6:38 PM Peter Müller <peter.mueller@ipfire.org> wrote: > Eventually, we hoped libloc would be used by other distributions as well, since a decent > part of the open source community is facing license trouble after MaxMind changed their > terms and conditions. I remember Michael having a discussion with some members of the > Debian development team, but my memories fail me when it comes to it's results. > > Therefore, I am not sure if libloc is ready in a way we would move from "UNRELEASED" to > "unstable". On the one hand, it is used in production for IPFire since a while, on the > other hand, nobody else is using the libloc _code_ as such - at least no one I am aware of. I am in that boat actually, as I ended up looking at the repository with the goal of migrating away from MaxMind, however I am on Ubuntu. The build currently fails due to a bad test invocation which I hope to take a closer look at. Additionally I would like to update the debhelper compatibility level while I am at it, but that also needs to be looked into - whether the resulting build is the same, however for that I would like to have the automated build tooling in place (which needs those test changes). Regarding the topic of "UNRELEASED" vs "unstable": Having "unstable" for a _released_ version is the standard way for Debian-native packages. You can take the `debmirror` tool as a simple example. The official upstream changelog there can be seen in the source containing "unstable": https://salsa.debian.org/debian/debmirror/-/blob/debian/1%252.33/debian/changelog As people are working on future changes, "UNRELEASED" is used for tracking changes until the release is tagged (by replacing "UNRELEASED" with "unstable", and updating the maintainer name/email and date). A sample of work in progress in source can be seen: https://salsa.debian.org/debian/debmirror/-/blob/0f9992cdb9b535bd42958a9ff6cb07723f064006/debian/changelog The tool is available in Ubuntu repositories as well, where additional patches are applied -- replacing Debian defaults with Ubuntu defaults as required for the package. As a result, in Ubuntu a separate version with a 'ubuntu' suffix gets created, while the history still lists "unstable" throughout from its upstream: https://changelogs.ubuntu.com/changelogs/pool/universe/d/debmirror/debmirror_2.33ubuntu1/changelog --Valters
Hello, Thank you Valters for the patch :) > On 13 Apr 2021, at 16:38, Peter Müller <peter.mueller@ipfire.org> wrote: > > Hello Valters, > > thanks for your patch. > > Indeed, the historical changelog of libloc currently contains - um - information in a > non-optimal fashion. I guess this was due to the lack of time back then, and nobody of > us had good experience with packaging stuff for Debian. Thanks for improving this. > > Eventually, we hoped libloc would be used by other distributions as well, since a decent > part of the open source community is facing license trouble after MaxMind changed their > terms and conditions. I remember Michael having a discussion with some members of the > Debian development team, but my memories fail me when it comes to it's results. You wanted to reach out to them to find out what it takes to get our package into Debian :) > Therefore, I am not sure if libloc is ready in a way we would move from "UNRELEASED" to > "unstable". On the one hand, it is used in production for IPFire since a while, on the > other hand, nobody else is using the libloc _code_ as such - at least no one I am aware of. libloc is stable. We should technically give it the 1.0 version tag soon. However, the Debian package might have some issues, but I do not see that as a reason that we mark it as “please stay away and use something else”. That would send the wrong signal about libloc. I cannot disclose any other users of libloc apart from those that I have already shared publicly, but we have plenty of downloads of the library so I assume that there are some silent users out there :) We should work more on making people aware that there now is an alternative to other products available which is truly free software. -Michael > @Michael: What do you think? > > Thanks, and best regards, > Peter Müller > > >> Rewriting history is generally considered a "not-so-good" thing, >> however here the historical data does not align with best practises >> and therefore it is beneficial to provide a better example going >> forward. >> >> There is only one initial release. Everything following that should >> list some kind of release notes or changelog, or at the very least >> just say something along the lines of "New version" rather than >> "Initial release". >> >> In this commit, the Git history is used for this task, >> filtering out "Makefile" changes as to retain only changes >> that are visible to users, excluding building tooling. >> >> For Debian packages, upon release, the target distribution should be >> updated to "unstable" (or "experimental" if preferred for any reason) >> when a release is finalized. During development, an invalid >> distribution name is expected to be there for tracking unreleased >> changes. That is why "UNRELEASED" is the standard way of specifying >> ongoing development, being an invalid distribution name itself. >> >> The "(Closes: #XXXXXX)" tag is intended for linking to Debian bug >> tracker, such as linking to the initial Intent to Package ticket, >> or later update/bugfix tickets. There does not appear to be a bug >> tracker in use for this task here, and the XXXXXX bug ticket number >> does not take you anywhere. It's therefore better to just remove it. >> --- >> debian/changelog | 15 +++++++++++---- >> 1 file changed, 11 insertions(+), 4 deletions(-) >> >> diff --git a/debian/changelog b/debian/changelog >> index e0be397..e58c0ca 100644 >> --- a/debian/changelog >> +++ b/debian/changelog >> @@ -1,11 +1,18 @@ >> -libloc (0.9.6-1) UNRELEASED; urgency=medium >> +libloc (0.9.6-1) unstable; urgency=medium >> >> - * Initial release. (Closes: #XXXXXX) >> + * location-importer.in: skip networks with unknown country codes >> + * location-importer.in: process unaligned IP ranges in RIR data files >> + correctly >> + * database: Free mmapped countries section >> + * location-importer.in: reduce log noise for unusable networks >> + * location-importer.in: delete 6to4 IPv6 space as well >> + * location-importer.in: fix typo >> + * location: Fix list-networks-by-as >> >> -- Michael Tremer <michael.tremer@ipfire.org> Wed, 31 Mar 2021 14:06:00 +0100 >> >> -libloc (0.9.5-1) UNRELEASED; urgency=medium >> +libloc (0.9.5-1) unstable; urgency=medium >> >> - * Initial release. (Closes: #XXXXXX) >> + * Initial release. >> >> -- Stefan Schantl <stefan.schantl@ipfire.org> Sun, 27 Oct 2019 18:55:44 +0100 >>
Hello, > On 13 Apr 2021, at 17:41, Valters Jansons <valter.jansons@gmail.com> wrote: > > On Tue, Apr 13, 2021 at 6:38 PM Peter Müller <peter.mueller@ipfire.org> wrote: >> Eventually, we hoped libloc would be used by other distributions as well, since a decent >> part of the open source community is facing license trouble after MaxMind changed their >> terms and conditions. I remember Michael having a discussion with some members of the >> Debian development team, but my memories fail me when it comes to it's results. >> >> Therefore, I am not sure if libloc is ready in a way we would move from "UNRELEASED" to >> "unstable". On the one hand, it is used in production for IPFire since a while, on the >> other hand, nobody else is using the libloc _code_ as such - at least no one I am aware of. > > I am in that boat actually, as I ended up looking at the repository > with the goal of migrating away from MaxMind, however I am on Ubuntu. > The build currently fails due to a bad test invocation which I hope to > take a closer look at. Additionally I would like to update the > debhelper compatibility level while I am at it, but that also needs to > be looked into - whether the resulting build is the same, however for > that I would like to have the automated build tooling in place (which > needs those test changes). It should work just fine on Ubuntu. We are only dependent on a POSIX-compatible system so Windows might be a bit tricky. I used to build it on Mac OS X, too. If there is interest, I wouldn’t mind publishing Ubuntu packages. Better would of course be to make it an upstream package. > Regarding the topic of "UNRELEASED" vs "unstable": Having "unstable" > for a _released_ version is the standard way for Debian-native > packages. unstable is right for us then. > You can take the `debmirror` tool as a simple example. The official > upstream changelog there can be seen in the source containing > "unstable": https://salsa.debian.org/debian/debmirror/-/blob/debian/1%252.33/debian/changelog > > As people are working on future changes, "UNRELEASED" is used for > tracking changes until the release is tagged (by replacing > "UNRELEASED" with "unstable", and updating the maintainer name/email > and date). A sample of work in progress in source can be seen: > https://salsa.debian.org/debian/debmirror/-/blob/0f9992cdb9b535bd42958a9ff6cb07723f064006/debian/changelog We normally do not build packages with a development version. > The tool is available in Ubuntu repositories as well, where additional > patches are applied -- replacing Debian defaults with Ubuntu defaults > as required for the package. As a result, in Ubuntu a separate version > with a 'ubuntu' suffix gets created, while the history still lists > "unstable" throughout from its upstream: > https://changelogs.ubuntu.com/changelogs/pool/universe/d/debmirror/debmirror_2.33ubuntu1/changelog > > --Valters -Michael
On Wed, Apr 14, 2021 at 12:31 PM Michael Tremer <michael.tremer@ipfire.org> wrote: > It should work just fine on Ubuntu. We are only dependent on a POSIX-compatible system so Windows might be a bit tricky. I used to build it on Mac OS X, too. > > If there is interest, I wouldn’t mind publishing Ubuntu packages. Better would of course be to make it an upstream package. Understandable - and I completely agree in the benefit of having the package available in Debian to be pulled into all Debian derivative distributions that way. The building problem is not directly linked with Ubuntu. Instead, it is about auto_test failing, due to `make check` failing on the root Makefile. Testsuite for libloc in the root directory passes, however the check-recursive target then tries to `make check` inside of po subdirectory which fails with: "No rule to make target '../src/python/__init__.py', needed by 'libloc.pot'. Stop." The broken scenario that needs patching can simplified to: $ autoreconf --install --symlink $ intltoolize --force --automake $ ./configure --prefix=/usr --sysconfdir=/etc --libdir=/lib $ make -j$(nproc) $ make -j$(nproc) check I will shortly provide a patch with an updated po/POTFILES.in as generated by `rm po/POTFILES.in && make po/POTFILES.in`. > > You can take the `debmirror` tool as a simple example. The official > > upstream changelog there can be seen in the source containing > > "unstable": https://salsa.debian.org/debian/debmirror/-/blob/debian/1%252.33/debian/changelog > > > > As people are working on future changes, "UNRELEASED" is used for > > tracking changes until the release is tagged (by replacing > > "UNRELEASED" with "unstable", and updating the maintainer name/email > > and date). A sample of work in progress in source can be seen: > > https://salsa.debian.org/debian/debmirror/-/blob/0f9992cdb9b535bd42958a9ff6cb07723f064006/debian/changelog > > We normally do not build packages with a development version. The UNRELEASED distribution is tagged for that reason, as to signal that a package should not be built from that source. I was simply highlighting a development workflow in place for one Debian package which tracks changes during development, where individual commits/patches also update the changelog file. This approach ensures that at release time only the s/UNRELEASED/unstable/ replacement needs to happen along with `update-maintainer` -- without having to worry about collecting the list of changes. --Valters
Hello, > On 14 Apr 2021, at 11:03, Valters Jansons <valter.jansons@gmail.com> wrote: > > On Wed, Apr 14, 2021 at 12:31 PM Michael Tremer > <michael.tremer@ipfire.org> wrote: >> It should work just fine on Ubuntu. We are only dependent on a POSIX-compatible system so Windows might be a bit tricky. I used to build it on Mac OS X, too. >> >> If there is interest, I wouldn’t mind publishing Ubuntu packages. Better would of course be to make it an upstream package. > > Understandable - and I completely agree in the benefit of having the > package available in Debian to be pulled into all Debian derivative > distributions that way. > > The building problem is not directly linked with Ubuntu. Instead, it > is about auto_test failing, due to `make check` failing on the root > Makefile. Testsuite for libloc in the root directory passes, however > the check-recursive target then tries to `make check` inside of po > subdirectory which fails with: "No rule to make target > '../src/python/__init__.py', needed by 'libloc.pot'. Stop." > > The broken scenario that needs patching can simplified to: > $ autoreconf --install --symlink > $ intltoolize --force --automake > $ ./configure --prefix=/usr --sysconfdir=/etc --libdir=/lib > $ make -j$(nproc) > $ make -j$(nproc) check > > I will shortly provide a patch with an updated po/POTFILES.in as > generated by `rm po/POTFILES.in && make po/POTFILES.in`. This does not show any changes on my system. >>> You can take the `debmirror` tool as a simple example. The official >>> upstream changelog there can be seen in the source containing >>> "unstable": https://salsa.debian.org/debian/debmirror/-/blob/debian/1%252.33/debian/changelog >>> >>> As people are working on future changes, "UNRELEASED" is used for >>> tracking changes until the release is tagged (by replacing >>> "UNRELEASED" with "unstable", and updating the maintainer name/email >>> and date). A sample of work in progress in source can be seen: >>> https://salsa.debian.org/debian/debmirror/-/blob/0f9992cdb9b535bd42958a9ff6cb07723f064006/debian/changelog >> >> We normally do not build packages with a development version. > > The UNRELEASED distribution is tagged for that reason, as to signal > that a package should not be built from that source. I was simply > highlighting a development workflow in place for one Debian package > which tracks changes during development, where individual > commits/patches also update the changelog file. This approach ensures > that at release time only the s/UNRELEASED/unstable/ replacement needs > to happen along with `update-maintainer` -- without having to worry > about collecting the list of changes. > > --Valters
On Wed, Apr 14, 2021 at 1:05 PM Michael Tremer <michael.tremer@ipfire.org> wrote: > > The broken scenario that needs patching can simplified to: > > $ autoreconf --install --symlink > > $ intltoolize --force --automake > > $ ./configure --prefix=/usr --sysconfdir=/etc --libdir=/lib > > $ make -j$(nproc) > > $ make -j$(nproc) check > > > > I will shortly provide a patch with an updated po/POTFILES.in as > > generated by `rm po/POTFILES.in && make po/POTFILES.in`. > > This does not show any changes on my system. Based on a clean clone of the repository? Maybe the src/python/__init__.py gets generated with some other targets? I personally get a diff of: --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -1,0 +2 @@ +src/python/__init__.py.in @@ -7,2 +7,0 @@ -src/python/__init__.py -src/python/__init__.py.in --Valters
diff --git a/debian/changelog b/debian/changelog index e0be397..e58c0ca 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,11 +1,18 @@ -libloc (0.9.6-1) UNRELEASED; urgency=medium +libloc (0.9.6-1) unstable; urgency=medium - * Initial release. (Closes: #XXXXXX) + * location-importer.in: skip networks with unknown country codes + * location-importer.in: process unaligned IP ranges in RIR data files + correctly + * database: Free mmapped countries section + * location-importer.in: reduce log noise for unusable networks + * location-importer.in: delete 6to4 IPv6 space as well + * location-importer.in: fix typo + * location: Fix list-networks-by-as -- Michael Tremer <michael.tremer@ipfire.org> Wed, 31 Mar 2021 14:06:00 +0100 -libloc (0.9.5-1) UNRELEASED; urgency=medium +libloc (0.9.5-1) unstable; urgency=medium - * Initial release. (Closes: #XXXXXX) + * Initial release. -- Stefan Schantl <stefan.schantl@ipfire.org> Sun, 27 Oct 2019 18:55:44 +0100