Re: We need a fix for update.cmd

Matthew Toseland <[email protected]> Sat, 9 Dec 2017 12:33:43 +0000
Newsgroups gmane.network.freenet.devel
Message-ID <[email protected]>
--FlHx4vt8wgCuwv40DLTRa27v2VHoiJ58k
Content-Type: multipart/mixed; boundary="6RdQppN3oWndWoADEtE632UxwxQM9IoOU";
 protected-headers="v1"
From: Matthew Toseland <[email protected]>
To: [email protected]
Message-ID: <4892a97c-01b7-a636-6b04-033f6767e637-mtMkOSv53sdLEkozxzBd2w@public.gmane.org>
Subject: Re: We need a fix for update.cmd
References: <87bmj8539e.fsf-S0/[email protected]>
In-Reply-To: <87bmj8539e.fsf-S0/[email protected]>

--6RdQppN3oWndWoADEtE632UxwxQM9IoOU
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Content-Language: en-GB

On 08/12/17 21:04, Arne Babenhauserheide wrote:
> Hi,
>
> The new windows installer is prepared, I can release any day, but
> there's still one critical piece missing: we need update.cmd fixed to a=
t
> least download freenet-stable-latest.jar from github instead of trying
> to use the defunct downloads.freenetproject.org.
>
> This is the file:
> https://github.com/freenet/wininstaller-innosetup/blob/master/install_n=
ode/updater/update.cmd
>
> We need this updated to download from github releases, similar to what
> update.sh now does:
> https://github.com/freenet/java_installer/blob/next/scripts/update.sh#L=
271
>
> But if I were to do that myself, it would be idiotic: I have almost no
> Windows experience (I never used a Windows computer as my home system)
> and most certainly do not know about intricacies of Windows systems.
>
> Therefore we need you to step up and go and get update.cmd to work
> again:
>
> - Access https://github.com/freenet/fred/releases/latest
> - Get the forwarding URL to grab the LATEST_TAG parameter.
> - download https://github.com/freenet/fred/releases/download/${LATEST_T=
AG}/freenet-${LATEST_TAG}.jar"
>
> If we can at least get the newest freenet jar-file, we can go and fix
> other things from there, if the switch to gradle creates unexpected
> problems.
>
> So if you have some experience with Windows command line shell, please
> step up and fix update.cmd. This is the last real blocker before we can=

> go forward towards releasing next.
>
> Best wishes,
> Arne

I still think this is going to break badly whenever you have an
incompatible change to the dependencies.

update.cmd should be auto-generated from dependencies.properties.



--6RdQppN3oWndWoADEtE632UxwxQM9IoOU--

--FlHx4vt8wgCuwv40DLTRa27v2VHoiJ58k
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIyBAEBCAAdFiEEL+6nZPsebCYG+98xHO7XMXFdHncFAlor2CwACgkQHO7XMXFd
HneE0Q/483j1IQmtee9firKGNizPUbO1Is40h8VcmtI3Pc9Bqz5jer6jtpOYlXJt
iUp4L0sgjUBfPK3K/qdvKpaBefZ6uydhx8eea6PassUDNzW278tS/o3s+sT5t5iP
OSDKoBjVJJMXS44v8BSvcSGZUZLjuTxTucETtf9fP3AbzpwJh7efmKp7+8uA661n
jlINYktDemX+x0nndicDPRJyuKS+dHvcujkAq1yUaDfP+BDLcllPziRP+QCp5GgR
+LPO7IlXec6kpuuyPPpf0uZs+sEG2znN2ZJjHJnk+uo/ko1Y3PGLacW985VzpRZi
TDsqTCUqazbv6RBESbuYlBFagsYZ1e/YQV2ZZwsn/RaHvkNsK4BD4BLPWhKIYnQd
5v89kl7X4CnJRR3UjFF5U0wCx8VvOn7IPhWRfh4IokKpdvqpXbH+rmycXzywiV/W
PC6DRdXAWDukh4QlPs+NptOREULkDO6WAZEpSCoezs9JQGBI8mT3jlajHOxteSo+
ISnvQAoTxO9dQ9S6tabzZlgGhrOa3D/04hXfy4xaoKhExJdGpg+7AH9kd6Br8rUU
bLGSZMZIBY2Q5/viIhkrbUUbmg3D67vNAk5eOUudcxRpsOqUr1xYpYYIiz/XPRjz
01zl5qWeCG7dCJFdJn+9c0ZWPLhy2ufD7GkOWPCrMMTyGEorgQ==
=m1h1
-----END PGP SIGNATURE-----

--FlHx4vt8wgCuwv40DLTRa27v2VHoiJ58k--