Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Apr 2024 10:56:16 +0300
From:      Matthias Fechner <mfechner@freebsd.org>
To:        Gleb Popov <arrowd@freebsd.org>
Cc:        "freebsd-ports@FreeBSD.org" <freebsd-ports@freebsd.org>
Subject:   Re: Package a second port (gitlab-ee instead of gitlab-ce)
Message-ID:  <0da7afa3-465f-4364-aad0-5b0932283b21@freebsd.org>
In-Reply-To: <CALH631mDNYn0ieau5E4z8_tnQe%2BSGNbo-3mRfzKSirA=bWdO3w@mail.gmail.com>
References:  <58745d45-46f3-4152-bc30-eee0794fe55c@freebsd.org> <CALH631mDNYn0ieau5E4z8_tnQe%2BSGNbo-3mRfzKSirA=bWdO3w@mail.gmail.com>

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

Am 12.04.2024 um 09:17 schrieb Gleb Popov:
> - GL_PROJECT= gitlab-foos
> + GL_PROJECT= gitlab
>
> part makes it use a completely different distfile.
>
> The problem is best solved by using FLAVORS, I guess. See
> https://docs.freebsd.org/en/books/porters-handbook/book/#flavors

thanks a lot for this.
I have here a first draft.
The idea is to rename www/gitlab-ce to www/gitlab and apply this:
https://gitlab.fechner.net/mfechner/Gitlab/-/commit/c6e569cdcd2862fdffa05a73c9ebd8a5a78fa7a7

(if I rebase, the branch is here: 
https://gitlab.fechner.net/mfechner/Gitlab/-/commits/gitlab-ee)

But if I execute poudriere with e.g.:
poudriere bulk -t -p gitlab -j 132amd64 www/gitlab

It is only building a package for the CE version and not for the EE version.
Does the FreeBSD cluster would generate both package or must I modify 
there something else?


Thanks a lot.

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

--------------9eXLhCgsRjioDV0k58TRzWBs
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 12.04.2024 um 09:17 schrieb Gleb
      Popov:<br>
    </div>
    <blockquote type="cite"
cite="mid:CALH631mDNYn0ieau5E4z8_tnQe+SGNbo-3mRfzKSirA=bWdO3w@mail.gmail.com"><span
      style="white-space: pre-wrap"></span><span
      style="white-space: pre-wrap">
</span>
      <pre class="moz-quote-pre" wrap="">- GL_PROJECT= gitlab-foos
+ GL_PROJECT= gitlab

part makes it use a completely different distfile.

The problem is best solved by using FLAVORS, I guess. See
<a class="moz-txt-link-freetext" href="https://docs.freebsd.org/en/books/porters-handbook/book/#flavors">https://docs.freebsd.org/en/books/porters-handbook/book/#flavors</a>;
</pre>
    </blockquote>
    <p>thanks a lot for this.<br>
      I have here a first draft.<br>
      The idea is to rename www/gitlab-ce to www/gitlab and apply this:<br>
<a class="moz-txt-link-freetext" href="https://gitlab.fechner.net/mfechner/Gitlab/-/commit/c6e569cdcd2862fdffa05a73c9ebd8a5a78fa7a7">https://gitlab.fechner.net/mfechner/Gitlab/-/commit/c6e569cdcd2862fdffa05a73c9ebd8a5a78fa7a7</a><br>;
    </p>
    <p>(if I rebase, the branch is here:
      <a class="moz-txt-link-freetext" href="https://gitlab.fechner.net/mfechner/Gitlab/-/commits/gitlab-ee">https://gitlab.fechner.net/mfechner/Gitlab/-/commits/gitlab-ee</a>)</p>;
    <p>But if I execute poudriere with e.g.:<br>
      poudriere bulk -t -p gitlab -j 132amd64 www/gitlab</p>
    <p>It is only building a package for the CE version and not for the
      EE version.<br>
      Does the FreeBSD cluster would generate both package or must I
      modify there something else?</p>
    <p><br>
    </p>
    <p>Thanks a lot.<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>

--------------9eXLhCgsRjioDV0k58TRzWBs--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0da7afa3-465f-4364-aad0-5b0932283b21>