You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Pavel Lyalyakin <ly...@apache.org> on 2026/08/28 16:02:12 UTC
The practical use case for get-deps.sh
Hello,
Depending on the scenario, someone who is building SVN can obtain its
dependencies either 1) from the OS package manager or 2) from version
control or from the source release packages of the dependencies themselves.
The latter requires configuring, building and installing each dependency
from source. As far as I understand, get-deps.sh only downloads the source
code of the dependencies but that's it. The user still has to build and
install them. So is the only benefit of get-deps.sh that it downloads the
tarballs and extracts them? Or am I missing something? Or rewording the
question, who is the indended user of the get-deps.sh script?
I see that the script downloads fixed versions of the dependencies and they
aren't the latest (so I think that the versions aren't "best"), If I use
the script without modifications, I'll get outdated versions of the
components.
This question came up while I was working on the INSTALL document
(r1937573[1] and r1937576[2]). Since get-deps.sh by default downloads
outdated versions of the dependencies and there is an easier alternative in
the form of a package manager, I don't think that recommending get-deps.sh
to everyone as the way to obtain the dependencies is a good advice. And if
a package maintainer builds the SVN and its deps from source code, wouldn't
they be using another path for downloading the source code of the
dependencies anyway?
BTW, I think that get-deps.sh has an issue that it doesn't verify the
authenticity of what it downloads. Subversion historically provided a
special tarball distribution of its dependencies, which was later removed.
It seems to me that these deps tarballs were signed[3], so there was a
simple way to verify their authenticity. The get-deps.sh script was added
as a replacement then to help download the dependencies[4], but without any
verification of the downloaded source code.
[1]: https://svn.apache.org/viewvc/?revision=1937573&view=revision
[2]: https://svn.apache.org/viewvc/?revision=1937576&view=revision
[3]:
https://web.archive.org/web/20120319033429/http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=260&expandFolder=74
[4]: https://svn.apache.org/viewvc/?view=revision&revision=945330
--
With best regards,
Pavel Lyalyakin
Re: The practical use case for get-deps.sh
Posted by Timofei Zhakov <ti...@chemodax.net>.
On Sat, Aug 29, 2026 at 1:50 PM Daniel Sahlberg <da...@gmail.com>
wrote:
> Den lör 29 aug. 2026 kl 13:42 skrev Stefan Sperling <st...@apache.org>:
>
>> On Sat, Aug 29, 2026 at 12:27:43AM +0300, Pavel Lyalyakin wrote:
>> > My focus is the INSTALL document. The mention of get-deps.sh in the
>> > document looks like a historical artifact and, frankly, it confused me a
>> > lot to start this email thread. Getting the dependencies is quite simple
>> > today, so I'd remove the get-deps.sh summary and its other mentions from
>> > INSTALL entirely, replacing it with the steps for installing the
>> > dependencies via a package manager and link to the official download
>> pages
>> > of the dependencies.
>>
>> I agree with removing get-deps.sh. What it is doing can be done manually.
>> And get-deps.sh does not even perform checksum verification of downloaded
>> artifacts before extracting them, which is relatively unsafe.
>>
>> One use case of this script might have been developers quickly building
>> Subversion and its major dependencies from source code. These days, for
>> developers I would recommend tools/dev/unix-build/Makefile.svn instead.
>> That script is maintained, fairly up-to-date, and verifies checksums.
>>
>
> I agree with Stefan. How about:
> 1. Remove the notes about get-deps.sh from INSTALL and backport to the
> 1.15.x branch
> 2. Add a "deprecated" note to get-deps.sh and backport to the 1.15.x branch
> 3. Declare get-deps.sh deprecated in the 1.15.x release notes
> 4. Remove get-deps.sh from trunk (effectively removing it from 1.16)
>
Sounds good to me.
>
> The purpose of 2 is to try to catch anyone using get-deps.sh and point
> them to the future removal.
>
> Should we mention something about Makefile.svn in INSTALL? As Stefan says
> it is maintained and very useful if you want to build Subversion with
> different dependencies.
>
>
>
I personally think the scripts for building dependencies are usually
confusing. They are often environment specific. That's why I believe the
user should provide the libraries to the build system from the
distribution/package manager/or make customisation that they want by
themselves. Maybe I'm wrong about it though. But on most of the modern Unix
systems there is no need for it.
--
Timofei Zhakov
Re: The practical use case for get-deps.sh
Posted by Ivan Zhakov <iv...@apache.org>.
On Sat, 29 Aug 2026 at 14:08, Stefan Sperling <st...@apache.org> wrote:
> On Sat, Aug 29, 2026 at 01:50:28PM +0200, Daniel Sahlberg wrote:
> > Should we mention something about Makefile.svn in INSTALL? As Stefan says
> > it is maintained and very useful if you want to build Subversion with
> > different dependencies.
>
> I would avoid advertising it to users. It's a development build script,
> not an installation method for production deployments (unless maybe if
> handled by someone who really knows what they are doing and isn't just
> following installation instructions).
>
> I agree to avoid advertising Makefile.svn in INSTALL. I also think that
Makefile.svn doesn't worth to be mentioned in Release Notes.
--
Ivan Zhakov
Re: The practical use case for get-deps.sh
Posted by Daniel Sahlberg <da...@gmail.com>.
Den sön 30 aug. 2026 kl 22:03 skrev Pavel Lyalyakin <ly...@apache.org>:
> On Sun, 30 Aug 2026 at 11:48, Daniel Sahlberg <da...@gmail.com>
> wrote:
>
>> Den lör 29 aug. 2026 kl 22:33 skrev Pavel Lyalyakin via dev <
>> dev@subversion.apache.org>:
>>
>>> On Sat, 29 Aug 2026 at 21:56, Daniel Sahlberg <
>>> daniel.l.sahlberg@gmail.com> wrote:
>>>
>>>> lör 29 aug. 2026 kl. 19:57 skrev Pavel Lyalyakin <lyalyakin@apache.org
>>>> >:
>>>>
>>>>> As far as I can see, everyone in the thread agree on removing
>>>>> get-deps.sh from trunk (1.16.x). Whether to remove it from 1.15.x or only
>>>>> deprecate it, as in Daniel's four-step plan, is still open. I'm +1 on the
>>>>> removal once nothing relies on the script
>>>>> (like tools/buildbot/slaves/svn-x64-macosx/svnbuild.sh). With that
>>>>> resolved, removing get-deps.sh from 1.15.x looks good to me as well.
>>>>>
>>>>
>>>> The buildbot folder is not used as far as I understand. We currently
>>>> use GitHub actions instead. I’d like to see the buildbot folder removed.
>>>>
>>>> I’m ok with removing get-deps in 1.15 as well, let’s start with
>>>> removing it.
>>>>
>>>>
>>>>> I'm going to remove the get-deps.sh info from the INSTALL guide soon.
>>>>> Thank you, everyone!
>>>>>
>>>>
>>>> +1
>>>>
>>>> Will you add it to the release notes or should I do that?
>>>>
>>>
>>> I've updated the 1.15 release notes in the site's staging area in
>>> r1937628 (https://svn.apache.org/viewvc/?revision=1937628&view=revision
>>> ).
>>>
>>>
>>> https://subversion-staging.apache.org/docs/release-notes/1.15.html#devscripts
>>>
>>
>> LGTM, thank you!
>>
>> I went ahead and removed the old buildbot scripts (since I was involved
>> in shutting down the system on the ASF side). Would you like to do the
>> honors of removing get-deps.sh and nominating for backport?
>>
>
> Sure, I've removed get-deps.sh in r1937667[1] and nominated this change
> for backport in r1937671[2].
>
> I've also nominated the removal of the Buildbot scripts in r1937672[3].
> Hope this was the right thing to do as well.
>
>
Thank you! I think that is reasonable since at least one of the scripts was
depending on get-deps.sh.
> I've voted on both nominations, but AFAIK my vote is formally
> non-binding[4].
>
I've voted on them as well. I believe the tools/buildbot change could go in
with only two votes but I didn't want to give the rest of the community a
chance to look at it.
> Also please update the backport nomionation of INSTALL when you remove the
>> get-deps.sh text.
>>
>
> Will do. I think I'm going to get to this on Monday or Tuesday.
>
> Thank you!
>
> [1]: https://svn.apache.org/viewvc/?revision=1937667&view=revision
> [2]: https://svn.apache.org/viewvc/?revision=1937671&view=revision
> [3]: https://svn.apache.org/viewvc/?revision=1937672&view=revision
> [4]:
> https://subversion.apache.org/docs/community-guide/releasing.html#release-stabilization-voting
>
> --
> With best regards,
> Pavel Lyalyakin
>
Cheers,
Daniel
Re: The practical use case for get-deps.sh
Posted by Pavel Lyalyakin <ly...@apache.org>.
On Sun, 30 Aug 2026 at 11:48, Daniel Sahlberg <da...@gmail.com>
wrote:
> Den lör 29 aug. 2026 kl 22:33 skrev Pavel Lyalyakin via dev <
> dev@subversion.apache.org>:
>
>> On Sat, 29 Aug 2026 at 21:56, Daniel Sahlberg <
>> daniel.l.sahlberg@gmail.com> wrote:
>>
>>> lör 29 aug. 2026 kl. 19:57 skrev Pavel Lyalyakin <ly...@apache.org>:
>>>
>>>> As far as I can see, everyone in the thread agree on removing
>>>> get-deps.sh from trunk (1.16.x). Whether to remove it from 1.15.x or only
>>>> deprecate it, as in Daniel's four-step plan, is still open. I'm +1 on the
>>>> removal once nothing relies on the script
>>>> (like tools/buildbot/slaves/svn-x64-macosx/svnbuild.sh). With that
>>>> resolved, removing get-deps.sh from 1.15.x looks good to me as well.
>>>>
>>>
>>> The buildbot folder is not used as far as I understand. We currently
>>> use GitHub actions instead. I’d like to see the buildbot folder removed.
>>>
>>> I’m ok with removing get-deps in 1.15 as well, let’s start with removing
>>> it.
>>>
>>>
>>>> I'm going to remove the get-deps.sh info from the INSTALL guide soon.
>>>> Thank you, everyone!
>>>>
>>>
>>> +1
>>>
>>> Will you add it to the release notes or should I do that?
>>>
>>
>> I've updated the 1.15 release notes in the site's staging area in
>> r1937628 (https://svn.apache.org/viewvc/?revision=1937628&view=revision).
>>
>>
>> https://subversion-staging.apache.org/docs/release-notes/1.15.html#devscripts
>>
>
> LGTM, thank you!
>
> I went ahead and removed the old buildbot scripts (since I was involved in
> shutting down the system on the ASF side). Would you like to do the honors
> of removing get-deps.sh and nominating for backport?
>
Sure, I've removed get-deps.sh in r1937667[1] and nominated this change for
backport in r1937671[2].
I've also nominated the removal of the Buildbot scripts in r1937672[3].
Hope this was the right thing to do as well.
I've voted on both nominations, but AFAIK my vote is formally
non-binding[4].
Also please update the backport nomionation of INSTALL when you remove the
> get-deps.sh text.
>
Will do. I think I'm going to get to this on Monday or Tuesday.
Thank you!
[1]: https://svn.apache.org/viewvc/?revision=1937667&view=revision
[2]: https://svn.apache.org/viewvc/?revision=1937671&view=revision
[3]: https://svn.apache.org/viewvc/?revision=1937672&view=revision
[4]:
https://subversion.apache.org/docs/community-guide/releasing.html#release-stabilization-voting
--
With best regards,
Pavel Lyalyakin
<https://subversion.apache.org/docs/community-guide/releasing.html#release-stabilization-voting>
<https://subversion.apache.org/docs/community-guide/releasing.html#release-stabilization-voting>
Re: The practical use case for get-deps.sh
Posted by Daniel Sahlberg <da...@gmail.com>.
Den lör 29 aug. 2026 kl 22:33 skrev Pavel Lyalyakin via dev <
dev@subversion.apache.org>:
> On Sat, 29 Aug 2026 at 21:56, Daniel Sahlberg <da...@gmail.com>
> wrote:
>
>> lör 29 aug. 2026 kl. 19:57 skrev Pavel Lyalyakin <ly...@apache.org>:
>>
>>> As far as I can see, everyone in the thread agree on removing
>>> get-deps.sh from trunk (1.16.x). Whether to remove it from 1.15.x or only
>>> deprecate it, as in Daniel's four-step plan, is still open. I'm +1 on the
>>> removal once nothing relies on the script
>>> (like tools/buildbot/slaves/svn-x64-macosx/svnbuild.sh). With that
>>> resolved, removing get-deps.sh from 1.15.x looks good to me as well.
>>>
>>
>> The buildbot folder is not used as far as I understand. We currently
>> use GitHub actions instead. I’d like to see the buildbot folder removed.
>>
>> I’m ok with removing get-deps in 1.15 as well, let’s start with removing
>> it.
>>
>>
>>> I'm going to remove the get-deps.sh info from the INSTALL guide soon.
>>> Thank you, everyone!
>>>
>>
>> +1
>>
>> Will you add it to the release notes or should I do that?
>>
>
> I've updated the 1.15 release notes in the site's staging area in r1937628
> (https://svn.apache.org/viewvc/?revision=1937628&view=revision).
>
>
> https://subversion-staging.apache.org/docs/release-notes/1.15.html#devscripts
>
LGTM, thank you!
I went ahead and removed the old buildbot scripts (since I was involved in
shutting down the system on the ASF side). Would you like to do the honors
of removing get-deps.sh and nominating for backport?
Also please update the backport nomionation of INSTALL when you remove the
get-deps.sh text.
/Daniel
Re: The practical use case for get-deps.sh
Posted by Pavel Lyalyakin via dev <de...@subversion.apache.org>.
On Sat, 29 Aug 2026 at 21:56, Daniel Sahlberg <da...@gmail.com>
wrote:
> lör 29 aug. 2026 kl. 19:57 skrev Pavel Lyalyakin <ly...@apache.org>:
>
>> As far as I can see, everyone in the thread agree on removing get-deps.sh
>> from trunk (1.16.x). Whether to remove it from 1.15.x or only deprecate it,
>> as in Daniel's four-step plan, is still open. I'm +1 on the removal once
>> nothing relies on the script
>> (like tools/buildbot/slaves/svn-x64-macosx/svnbuild.sh). With that
>> resolved, removing get-deps.sh from 1.15.x looks good to me as well.
>>
>
> The buildbot folder is not used as far as I understand. We currently
> use GitHub actions instead. I’d like to see the buildbot folder removed.
>
> I’m ok with removing get-deps in 1.15 as well, let’s start with removing
> it.
>
>
>> I'm going to remove the get-deps.sh info from the INSTALL guide soon.
>> Thank you, everyone!
>>
>
> +1
>
> Will you add it to the release notes or should I do that?
>
I've updated the 1.15 release notes in the site's staging area in r1937628 (
https://svn.apache.org/viewvc/?revision=1937628&view=revision).
https://subversion-staging.apache.org/docs/release-notes/1.15.html#devscripts
--
With best regards,
Pavel Lyalyakin
VisualSVN Team
Re: The practical use case for get-deps.sh
Posted by Daniel Sahlberg <da...@gmail.com>.
lör 29 aug. 2026 kl. 19:57 skrev Pavel Lyalyakin <ly...@apache.org>:
> As far as I can see, everyone in the thread agree on removing get-deps.sh
> from trunk (1.16.x). Whether to remove it from 1.15.x or only deprecate it,
> as in Daniel's four-step plan, is still open. I'm +1 on the removal once
> nothing relies on the script
> (like tools/buildbot/slaves/svn-x64-macosx/svnbuild.sh). With that
> resolved, removing get-deps.sh from 1.15.x looks good to me as well.
>
The buildbot folder is not used as far as I understand. We currently
use GitHub actions instead. I’d like to see the buildbot folder removed.
I’m ok with removing get-deps in 1.15 as well, let’s start with removing it.
> I'm going to remove the get-deps.sh info from the INSTALL guide soon.
> Thank you, everyone!
>
+1
Will you add it to the release notes or should I do that?
Kind regards
Daniel
Re: The practical use case for get-deps.sh
Posted by Pavel Lyalyakin <ly...@apache.org>.
As far as I can see, everyone in the thread agree on removing get-deps.sh
from trunk (1.16.x). Whether to remove it from 1.15.x or only deprecate it,
as in Daniel's four-step plan, is still open. I'm +1 on the removal once
nothing relies on the script
(like tools/buildbot/slaves/svn-x64-macosx/svnbuild.sh). With that
resolved, removing get-deps.sh from 1.15.x looks good to me as well.
I'm going to remove the get-deps.sh info from the INSTALL guide soon. Thank
you, everyone!
--
With best regards,
Pavel Lyalyakin
Re: The practical use case for get-deps.sh
Posted by Pavel Lyalyakin <ly...@apache.org>.
On Sat, Aug 29, 2026 at 7:31 PM Ivan Zhakov <iv...@apache.org> wrote:
> On Sat, 29 Aug 2026 at 18:05, Daniel Sahlberg <da...@gmail.com>
> wrote:
>
>>
>>
>> lör 29 aug. 2026 kl. 17:12 skrev Ivan Zhakov <iv...@apache.org>:
>>
>>> On Sat, 29 Aug 2026 at 15:40, Nathan Hartman <ha...@gmail.com>
>>> wrote:
>>>
>>>> On Sat, Aug 29, 2026 at 8:08 AM Stefan Sperling <st...@apache.org>
>>>> wrote:
>>>>
>>>>> On Sat, Aug 29, 2026 at 01:50:28PM +0200, Daniel Sahlberg wrote:
>>>>> > Should we mention something about Makefile.svn in INSTALL? As Stefan
>>>>> says
>>>>> > it is maintained and very useful if you want to build Subversion with
>>>>> > different dependencies.
>>>>>
>>>>> I would avoid advertising it to users. It's a development build script,
>>>>> not an installation method for production deployments (unless maybe if
>>>>> handled by someone who really knows what they are doing and isn't just
>>>>> following installation instructions).
>>>>
>>>>
>>>> Agreed that Makefile.svn is a developer-facing tool. One reason it
>>>> isn't for building an end-user install: it enables maintainer mode, etc.
>>>>
>>>> End-users should be using their operating system's package manager to
>>>>> install Subbersion. And all the Linux/Unix-like distribution packagers
>>>>> already have their own dependency tracking solution. (I'm ignoring
>>>>> Windows
>>>>> here because get-deps.sh doesn't apply when building on Windows.)
>>>>>
>>>> I think INSTALL should start by suggesting that the easiest method to
>>>> install Subversion is from your distribution's package manager, or by
>>>> downloading prebuilt binaries [1]. Then it can say that the rest of this
>>>> document is about building from source.
>>>>
>>>> I'm +1 to remove get-deps.sh.
>>>>
>>>> I am +1 to remove get-deps.sh. Also I think get-deps.sh doesn't worth
>>> to be mentioned in the release notes: it just a developer script.
>>>
>>
>> We already have mentioned the other removed scripts, see
>>
>> https://subversion-staging.apache.org/docs/release-notes/1.15.html#devscripts
>>
>>
> Good point! I forgot about this section in release notes. Btw I am fine to
> remove get-deps.sh in 1.15.x too: it's insecure and unmaintained.
>
It appears that tools/buildbot/slaves/svn-x64-macosx/svnbuild.sh downloads
the sqlite amalgamation via get-deps.sh[1]. If this Buildbot slave is in
use, it will need to be updated before get-deps.sh is removed from trunk,
right?
[1]:
https://svn.apache.org/viewvc/subversion/trunk/tools/buildbot/slaves/svn-x64-macosx/svnbuild.sh?&pathrev=1937573&view=markup#l79
--
With best regards,
Pavel Lyalyakin
Re: The practical use case for get-deps.sh
Posted by Ivan Zhakov <iv...@apache.org>.
On Sat, 29 Aug 2026 at 18:05, Daniel Sahlberg <da...@gmail.com>
wrote:
>
>
> lör 29 aug. 2026 kl. 17:12 skrev Ivan Zhakov <iv...@apache.org>:
>
>> On Sat, 29 Aug 2026 at 15:40, Nathan Hartman <ha...@gmail.com>
>> wrote:
>>
>>> On Sat, Aug 29, 2026 at 8:08 AM Stefan Sperling <st...@apache.org> wrote:
>>>
>>>> On Sat, Aug 29, 2026 at 01:50:28PM +0200, Daniel Sahlberg wrote:
>>>> > Should we mention something about Makefile.svn in INSTALL? As Stefan
>>>> says
>>>> > it is maintained and very useful if you want to build Subversion with
>>>> > different dependencies.
>>>>
>>>> I would avoid advertising it to users. It's a development build script,
>>>> not an installation method for production deployments (unless maybe if
>>>> handled by someone who really knows what they are doing and isn't just
>>>> following installation instructions).
>>>
>>>
>>> Agreed that Makefile.svn is a developer-facing tool. One reason it isn't
>>> for building an end-user install: it enables maintainer mode, etc.
>>>
>>> End-users should be using their operating system's package manager to
>>>> install Subbersion. And all the Linux/Unix-like distribution packagers
>>>> already have their own dependency tracking solution. (I'm ignoring
>>>> Windows
>>>> here because get-deps.sh doesn't apply when building on Windows.)
>>>>
>>> I think INSTALL should start by suggesting that the easiest method to
>>> install Subversion is from your distribution's package manager, or by
>>> downloading prebuilt binaries [1]. Then it can say that the rest of this
>>> document is about building from source.
>>>
>>> I'm +1 to remove get-deps.sh.
>>>
>>> I am +1 to remove get-deps.sh. Also I think get-deps.sh doesn't worth to
>> be mentioned in the release notes: it just a developer script.
>>
>
> We already have mentioned the other removed scripts, see
>
> https://subversion-staging.apache.org/docs/release-notes/1.15.html#devscripts
>
>
Good point! I forgot about this section in release notes. Btw I am fine to
remove get-deps.sh in 1.15.x too: it's insecure and unmaintained.
--
Ivan Zhakov
Re: The practical use case for get-deps.sh
Posted by Daniel Sahlberg <da...@gmail.com>.
lör 29 aug. 2026 kl. 17:12 skrev Ivan Zhakov <iv...@apache.org>:
> On Sat, 29 Aug 2026 at 15:40, Nathan Hartman <ha...@gmail.com>
> wrote:
>
>> On Sat, Aug 29, 2026 at 8:08 AM Stefan Sperling <st...@apache.org> wrote:
>>
>>> On Sat, Aug 29, 2026 at 01:50:28PM +0200, Daniel Sahlberg wrote:
>>> > Should we mention something about Makefile.svn in INSTALL? As Stefan
>>> says
>>> > it is maintained and very useful if you want to build Subversion with
>>> > different dependencies.
>>>
>>> I would avoid advertising it to users. It's a development build script,
>>> not an installation method for production deployments (unless maybe if
>>> handled by someone who really knows what they are doing and isn't just
>>> following installation instructions).
>>
>>
>> Agreed that Makefile.svn is a developer-facing tool. One reason it isn't
>> for building an end-user install: it enables maintainer mode, etc.
>>
>> End-users should be using their operating system's package manager to
>>> install Subbersion. And all the Linux/Unix-like distribution packagers
>>> already have their own dependency tracking solution. (I'm ignoring
>>> Windows
>>> here because get-deps.sh doesn't apply when building on Windows.)
>>>
>> I think INSTALL should start by suggesting that the easiest method to
>> install Subversion is from your distribution's package manager, or by
>> downloading prebuilt binaries [1]. Then it can say that the rest of this
>> document is about building from source.
>>
>> I'm +1 to remove get-deps.sh.
>>
>> I am +1 to remove get-deps.sh. Also I think get-deps.sh doesn't worth to
> be mentioned in the release notes: it just a developer script.
>
We already have mentioned the other removed scripts, see
https://subversion-staging.apache.org/docs/release-notes/1.15.html#devscripts
/Daniel
Re: The practical use case for get-deps.sh
Posted by Ivan Zhakov <iv...@apache.org>.
On Sat, 29 Aug 2026 at 15:40, Nathan Hartman <ha...@gmail.com>
wrote:
> On Sat, Aug 29, 2026 at 8:08 AM Stefan Sperling <st...@apache.org> wrote:
>
>> On Sat, Aug 29, 2026 at 01:50:28PM +0200, Daniel Sahlberg wrote:
>> > Should we mention something about Makefile.svn in INSTALL? As Stefan
>> says
>> > it is maintained and very useful if you want to build Subversion with
>> > different dependencies.
>>
>> I would avoid advertising it to users. It's a development build script,
>> not an installation method for production deployments (unless maybe if
>> handled by someone who really knows what they are doing and isn't just
>> following installation instructions).
>
>
> Agreed that Makefile.svn is a developer-facing tool. One reason it isn't
> for building an end-user install: it enables maintainer mode, etc.
>
> End-users should be using their operating system's package manager to
>> install Subbersion. And all the Linux/Unix-like distribution packagers
>> already have their own dependency tracking solution. (I'm ignoring Windows
>> here because get-deps.sh doesn't apply when building on Windows.)
>>
> I think INSTALL should start by suggesting that the easiest method to
> install Subversion is from your distribution's package manager, or by
> downloading prebuilt binaries [1]. Then it can say that the rest of this
> document is about building from source.
>
> I'm +1 to remove get-deps.sh.
>
> I am +1 to remove get-deps.sh. Also I think get-deps.sh doesn't worth to
be mentioned in the release notes: it just a developer script.
--
Ivan Zhakov
Re: The practical use case for get-deps.sh
Posted by Nathan Hartman <ha...@gmail.com>.
On Sat, Aug 29, 2026 at 8:08 AM Stefan Sperling <st...@apache.org> wrote:
> On Sat, Aug 29, 2026 at 01:50:28PM +0200, Daniel Sahlberg wrote:
> > Should we mention something about Makefile.svn in INSTALL? As Stefan says
> > it is maintained and very useful if you want to build Subversion with
> > different dependencies.
>
> I would avoid advertising it to users. It's a development build script,
> not an installation method for production deployments (unless maybe if
> handled by someone who really knows what they are doing and isn't just
> following installation instructions).
Agreed that Makefile.svn is a developer-facing tool. One reason it isn't
for building an end-user install: it enables maintainer mode, etc.
End-users should be using their operating system's package manager to
> install Subbersion. And all the Linux/Unix-like distribution packagers
> already have their own dependency tracking solution. (I'm ignoring Windows
> here because get-deps.sh doesn't apply when building on Windows.)
>
I think INSTALL should start by suggesting that the easiest method to
install Subversion is from your distribution's package manager, or by
downloading prebuilt binaries [1]. Then it can say that the rest of this
document is about building from source.
I'm +1 to remove get-deps.sh.
[1] https://subversion.apache.org/packages.html
Cheers,
Nathan
Re: The practical use case for get-deps.sh
Posted by Stefan Sperling <st...@apache.org>.
On Sat, Aug 29, 2026 at 01:50:28PM +0200, Daniel Sahlberg wrote:
> Should we mention something about Makefile.svn in INSTALL? As Stefan says
> it is maintained and very useful if you want to build Subversion with
> different dependencies.
I would avoid advertising it to users. It's a development build script,
not an installation method for production deployments (unless maybe if
handled by someone who really knows what they are doing and isn't just
following installation instructions).
End-users should be using their operating system's package manager to
install Subbersion. And all the Linux/Unix-like distribution packagers
already have their own dependency tracking solution. (I'm ignoring Windows
here because get-deps.sh doesn't apply when building on Windows.)
Re: The practical use case for get-deps.sh
Posted by Daniel Sahlberg <da...@gmail.com>.
Den lör 29 aug. 2026 kl 13:42 skrev Stefan Sperling <st...@apache.org>:
> On Sat, Aug 29, 2026 at 12:27:43AM +0300, Pavel Lyalyakin wrote:
> > My focus is the INSTALL document. The mention of get-deps.sh in the
> > document looks like a historical artifact and, frankly, it confused me a
> > lot to start this email thread. Getting the dependencies is quite simple
> > today, so I'd remove the get-deps.sh summary and its other mentions from
> > INSTALL entirely, replacing it with the steps for installing the
> > dependencies via a package manager and link to the official download
> pages
> > of the dependencies.
>
> I agree with removing get-deps.sh. What it is doing can be done manually.
> And get-deps.sh does not even perform checksum verification of downloaded
> artifacts before extracting them, which is relatively unsafe.
>
> One use case of this script might have been developers quickly building
> Subversion and its major dependencies from source code. These days, for
> developers I would recommend tools/dev/unix-build/Makefile.svn instead.
> That script is maintained, fairly up-to-date, and verifies checksums.
>
I agree with Stefan. How about:
1. Remove the notes about get-deps.sh from INSTALL and backport to the
1.15.x branch
2. Add a "deprecated" note to get-deps.sh and backport to the 1.15.x branch
3. Declare get-deps.sh deprecated in the 1.15.x release notes
4. Remove get-deps.sh from trunk (effectively removing it from 1.16)
The purpose of 2 is to try to catch anyone using get-deps.sh and point them
to the future removal.
Should we mention something about Makefile.svn in INSTALL? As Stefan says
it is maintained and very useful if you want to build Subversion with
different dependencies.
Cheers,
Daniel
Re: The practical use case for get-deps.sh
Posted by Stefan Sperling <st...@apache.org>.
On Sat, Aug 29, 2026 at 12:27:43AM +0300, Pavel Lyalyakin wrote:
> My focus is the INSTALL document. The mention of get-deps.sh in the
> document looks like a historical artifact and, frankly, it confused me a
> lot to start this email thread. Getting the dependencies is quite simple
> today, so I'd remove the get-deps.sh summary and its other mentions from
> INSTALL entirely, replacing it with the steps for installing the
> dependencies via a package manager and link to the official download pages
> of the dependencies.
I agree with removing get-deps.sh. What it is doing can be done manually.
And get-deps.sh does not even perform checksum verification of downloaded
artifacts before extracting them, which is relatively unsafe.
One use case of this script might have been developers quickly building
Subversion and its major dependencies from source code. These days, for
developers I would recommend tools/dev/unix-build/Makefile.svn instead.
That script is maintained, fairly up-to-date, and verifies checksums.
Re: The practical use case for get-deps.sh
Posted by Pavel Lyalyakin <ly...@apache.org>.
On Fri, 28 Aug 2026 at 19:02, Pavel Lyalyakin <ly...@apache.org> wrote:
> Hello,
>
> Depending on the scenario, someone who is building SVN can obtain its
> dependencies either 1) from the OS package manager or 2) from version
> control or from the source release packages of the dependencies themselves.
> The latter requires configuring, building and installing each dependency
> from source. As far as I understand, get-deps.sh only downloads the source
> code of the dependencies but that's it. The user still has to build and
> install them. So is the only benefit of get-deps.sh that it downloads the
> tarballs and extracts them? Or am I missing something? Or rewording the
> question, who is the indended user of the get-deps.sh script?
>
> I see that the script downloads fixed versions of the dependencies and
> they aren't the latest (so I think that the versions aren't "best"), If I
> use the script without modifications, I'll get outdated versions of the
> components.
>
> This question came up while I was working on the INSTALL document
> (r1937573[1] and r1937576[2]). Since get-deps.sh by default downloads
> outdated versions of the dependencies and there is an easier alternative in
> the form of a package manager, I don't think that recommending get-deps.sh
> to everyone as the way to obtain the dependencies is a good advice. And if
> a package maintainer builds the SVN and its deps from source code, wouldn't
> they be using another path for downloading the source code of the
> dependencies anyway?
>
> BTW, I think that get-deps.sh has an issue that it doesn't verify the
> authenticity of what it downloads. Subversion historically provided a
> special tarball distribution of its dependencies, which was later removed.
> It seems to me that these deps tarballs were signed[3], so there was a
> simple way to verify their authenticity. The get-deps.sh script was added
> as a replacement then to help download the dependencies[4], but without any
> verification of the downloaded source code.
>
I think I now understand why get-deps.sh was added, but I still don't fully
understand whether it's actively used or needed. SVN stopped shipping the
deps tarballs in 1.7.x[5] and get-deps.sh was added so that consumers would
still have an easy way to get the dependencies. I'm not sure whether that
was meant as a temporary utility until deps tarballs consumers migrated
away from them[4]. If so, then the script has outlived its usefulness by
more than a decade.
The script that generated the deps tarballs[6] was regularly updated with
recommended versions (see an example in r878427[7]). And get-deps.sh
started out the same way with recommended versions, but the last version
updates for most of the dependencies happened years ago. So what the script
downloads is whatever was current when someone last updated it.
My focus is the INSTALL document. The mention of get-deps.sh in the
document looks like a historical artifact and, frankly, it confused me a
lot to start this email thread. Getting the dependencies is quite simple
today, so I'd remove the get-deps.sh summary and its other mentions from
INSTALL entirely, replacing it with the steps for installing the
dependencies via a package manager and link to the official download pages
of the dependencies.
> [1]: https://svn.apache.org/viewvc/?revision=1937573&view=revision
> [2]: https://svn.apache.org/viewvc/?revision=1937576&view=revision
> [3]:
> https://web.archive.org/web/20120319033429/http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=260&expandFolder=74
> [4]: https://svn.apache.org/viewvc/?view=revision&revision=945330
>
[5]: https://subversion.apache.org/docs/release-notes/1.7.html#deps
[6]:
https://svn.apache.org/viewvc/subversion/trunk/tools/dist/construct-rolling-environment.sh?revision=878542&pathrev=878542&view=markup
[7]: https://svn.apache.org/viewvc/?revision=878427&view=revision
> --
> With best regards,
> Pavel Lyalyakin
>
--
With best regards,
Pavel Lyalyakin