<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Provide a focal-13 alias to focal"
   href="https://bugs.llvm.org/show_bug.cgi?id=49997">49997</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Provide a focal-13 alias to focal
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Packaging
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>deb packages
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>gonzalo.gadeschi@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>For context, right now, the deb packages provided for the different Linux
distributions, e.g., for focal, are at:

    deb <a href="http://apt.llvm.org/focal/">http://apt.llvm.org/focal/</a> llvm-toolchain-focal main
    deb-src <a href="http://apt.llvm.org/focal/">http://apt.llvm.org/focal/</a> llvm-toolchain-focal main

    deb <a href="http://apt.llvm.org/focal/">http://apt.llvm.org/focal/</a> llvm-toolchain-focal-11 main
    deb-src <a href="http://apt.llvm.org/focal/">http://apt.llvm.org/focal/</a> llvm-toolchain-focal-11 main

    deb <a href="http://apt.llvm.org/focal/">http://apt.llvm.org/focal/</a> llvm-toolchain-focal-12 main
    deb-src <a href="http://apt.llvm.org/focal/">http://apt.llvm.org/focal/</a> llvm-toolchain-focal-12 main

In particular, the packages of the "trunk" version are at
"llvm-toolchain-focal" while the packages of a released version are at
"llvm-toolchain-focal-{release}".

Tools that automatically install LLVM for users, like the HPC Container Maker -
a tool for building HPC containers - need to be aware of what the latest trunk
version number is:

- such that they can pick "llvm-toolchain-focal" instead of
"llvm-toolchain-focal-13" which does not exist
- such that they can properly set the toolchain as the container toolchain,
e.g., clang-13. 

Right now, these tools break for the last released version and trunk every 6
months when the information about the current trunk version becomes outdated
every new release.

This requires patching these tools every six months, and while the patch lands,
users must regress 1 version, e.g., currently, to using LLVM 11 since 12 and 13
(trunk) do not work anymore.

It would be super super helpful for these tools if we could provide an alias
for trunk that contains the version number. That is, to provide:

    deb <a href="http://apt.llvm.org/focal/">http://apt.llvm.org/focal/</a> llvm-toolchain-focal main
    deb-src <a href="http://apt.llvm.org/focal/">http://apt.llvm.org/focal/</a> llvm-toolchain-focal main

    deb <a href="http://apt.llvm.org/focal/">http://apt.llvm.org/focal/</a> llvm-toolchain-focal-11 main
    deb-src <a href="http://apt.llvm.org/focal/">http://apt.llvm.org/focal/</a> llvm-toolchain-focal-11 main

    deb <a href="http://apt.llvm.org/focal/">http://apt.llvm.org/focal/</a> llvm-toolchain-focal-12 main
    deb-src <a href="http://apt.llvm.org/focal/">http://apt.llvm.org/focal/</a> llvm-toolchain-focal-12 main

    deb <a href="http://apt.llvm.org/focal/">http://apt.llvm.org/focal/</a> llvm-toolchain-focal-13 main
    deb-src <a href="http://apt.llvm.org/focal/">http://apt.llvm.org/focal/</a> llvm-toolchain-focal-13 main


where "llvm-toolchain-focal-13" (13 is current trunk version) is just an alias
for "llvm-toolchain-focal".

That would allow users of these tools to pick 13 if they want to use trunk, and
once trunk gets promoted to a release, they'll continue using the release. 

Users would then need to manually update to 14 in 6 months to continue using
trunk, but that's something that they could do with their current HPCCM
version.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>