Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jul 2006 17:35:16 +0400
From:      Stanislav Sedov <ssedov@mbsd.msk.ru>
To:        freebsd-ports@freebsd.org
Subject:   Re: Using darcs to retrieve source in ports
Message-ID:  <20060729173516.0556bb64@localhost>
In-Reply-To: <44CB5A04.40209@darq.net>
References:  <44CB5A04.40209@darq.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_Jj_wRM35+xUJ_8D_MvD8XP_
Content-Type: text/plain; charset=KOI8-R
Content-Transfer-Encoding: quoted-printable

On Sat, 29 Jul 2006 13:52:20 +0100
Ian Morrison <ian@darq.net> mentioned:

> Hi there,
>=20
> I'm trying to build a port of PacketForth, (https://packets.goto10.org/)=
=20
> and it's going pretty well.  However, as it's still in the early stages=20
> of development, there are no tarfiles available online, and the=20
> preferred method of fetching the source is by using the darcs version=20
> control system.  The single command I ran to get the source was "darcs=20
> get http://url" and I was wondering it's possible for a port to retrieve=
=20
> files in this way.  I've been following the porters handbook, but it=20
> assumes use fetch(1) for everything.  Should I tar up the sources=20
> periodically and host them on a webserver somewhere?  Is that the=20
> preferred way of doing things?
>=20
> Thanks for any help guys,

It would be better to create a snapshot and upload it somewhere.
Although it is impossible to redefine do-fetch target and get
files  from CVS/darcs it would be hard to check files consistency,
since their sizes will vary depending on snapshot date/time/revision,
so you should provide tag/date switch to repository checkout program.

Additionally, you should issue own checksum checking code or add
every file in distinfo/DISTFILES.

--=20
Stanislav Sedov         MBSD labs, Inc.         <ssedov@mbsd.msk.ru>
=F2=CF=D3=D3=C9=D1, =ED=CF=D3=CB=D7=C1         http://mbsd.msk.ru

--------------------------------------------------------------------
If the facts don't fit the theory, change the facts.  -- A. Einstein
--------------------------------------------------------------------
PGP fingerprint:  F21E D6CC 5626 9609 6CE2  A385 2BF5 5993 EB26 9581

--Sig_Jj_wRM35+xUJ_8D_MvD8XP_
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (FreeBSD)

iD8DBQFEy2QZK/VZk+smlYERAjRqAJ421qlufZnDjeRPj0gZjNanBYsSbACggrUt
gzNp22nhB3SL/8lcmo9yvkI=
=nNZG
-----END PGP SIGNATURE-----

--Sig_Jj_wRM35+xUJ_8D_MvD8XP_--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060729173516.0556bb64>