Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Nov 2023 10:59:30 +0200
From:      Matthias Fechner <mfechner@freebsd.org>
To:        Rene Ladan <rene@freebsd.org>
Cc:        Gerald Pfeifer <gerald@pfeifer.com>, ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org
Subject:   Re: git: 7214ac3a354b - main - cleanup: Remove expired ports:
Message-ID:  <aff1a372-3141-47c2-9a67-e2708502b87b@freebsd.org>
In-Reply-To: <ZT5PynkRnCJAa7Vd@freefall.freebsd.org>
References:  <202310060803.39683UfW059863@gitrepo.freebsd.org> <4148f19f-a083-9f4c-920f-d848d527f259@pfeifer.com> <3b6d4219-9bb5-4372-91ce-cc46f014b278@freebsd.org> <ZT5PynkRnCJAa7Vd@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------3MyLeWxc8P447903NWpl0lzD
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

Am 29.10.2023 um 14:27 schrieb Rene Ladan:
> Would you mind sharing your changes?

sure, I have many repositories on my system (as I build them with 
poudriere) so I prepared rm scripts for every repository with a specific 
name.
For the gitlab port I use e.g. rmport_gitlab
I have them in a user bin directory:
diff --git a/Tools/scripts/rmport b/usr/home/idefix/bin/rmport_gitlab
index 776f1efcb8c0..d4926f40f753 100755
--- a/Tools/scripts/rmport
+++ b/usr/home/idefix/bin/rmport_gitlab
@@ -37,9 +37,9 @@
  # MAINTAINER= crees@FreeBSD.org
  #

  EDITOR=${EDITOR:-/usr/bin/vi}
-PORTSDIR=${PORTSDIR:-/usr/ports}
+PORTSDIR=${PORTSDIR:-/usr/home/idefix/git/gitlab.fechner.net/GitLab}
  INDEX=${PORTSDIR}/$(make -C ${PORTSDIR} -V INDEXFILE)

  TODAY=$(date -u +%Y-%m-%d)

And I use the script that matches the repository I currently work in.

Gruß
Matthias

-- 

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook

--------------3MyLeWxc8P447903NWpl0lzD
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">Am 29.10.2023 um 14:27 schrieb Rene
      Ladan:<br>
    </div>
    <blockquote type="cite"
      cite="mid:ZT5PynkRnCJAa7Vd@freefall.freebsd.org">
      <pre>Would you mind sharing your changes?</pre>
    </blockquote>
    <p>sure, I have many repositories on my system (as I build them with
      poudriere) so I prepared rm scripts for every repository with a
      specific name.<br>
      For the gitlab port I use e.g. rmport_gitlab<br>
      I have them in a user bin directory:<br>
      diff --git a/Tools/scripts/rmport
      b/usr/home/idefix/bin/rmport_gitlab<br>
      index 776f1efcb8c0..d4926f40f753 100755<br>
      --- a/Tools/scripts/rmport<br>
      +++ b/usr/home/idefix/bin/rmport_gitlab<br>
      @@ -37,9 +37,9 @@<br>
       # MAINTAINER=  <a class="moz-txt-link-abbreviated" href="mailto:crees@FreeBSD.org">crees@FreeBSD.org</a><br>
       #<br>
      <br>
       EDITOR=${EDITOR:-/usr/bin/vi}<br>
      -PORTSDIR=${PORTSDIR:-/usr/ports}<br>
+PORTSDIR=${PORTSDIR:-/usr/home/idefix/git/gitlab.fechner.net/GitLab}<br>
       INDEX=${PORTSDIR}/$(make -C ${PORTSDIR} -V INDEXFILE)<br>
      <br>
       TODAY=$(date -u +%Y-%m-%d)<br>
      <br>
    </p>
    <p>And I use the script that matches the repository I currently work
      in.<br>
    </p>
    <pre class="moz-signature" cols="72">
Gruß
Matthias

-- 

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook
</pre>
  </body>
</html>

--------------3MyLeWxc8P447903NWpl0lzD--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?aff1a372-3141-47c2-9a67-e2708502b87b>