mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Display warning when flagging VCS packages
VCS packages should not be flagged out-of-date when the package version does not match the most recent commit. Implements FS#62733. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
parent
5a66a381fb
commit
fc9c519852
3 changed files with 34 additions and 0 deletions
|
@ -195,3 +195,7 @@ label.confirmation,
|
|||
.comments .more {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.error {
|
||||
color: red;
|
||||
}
|
||||
|
|
|
@ -50,6 +50,15 @@ if (has_credential(CRED_PKGBASE_FLAG)): ?>
|
|||
<li><?= htmlspecialchars($pkgname) ?></li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
<?php if (pkgbase_is_vcs($base_id)): ?>
|
||||
<p class="error">
|
||||
This seems to be a VCS package. Please do <strong>not</strong>
|
||||
flag it out-of-date if the package version in the AUR does not
|
||||
match the most recent commit. Flagging this package should only
|
||||
be done if the sources moved or changes in the PKGBUILD are
|
||||
required because of recent upstream changes.
|
||||
</p>
|
||||
<?php endif; ?>
|
||||
<p>
|
||||
<?= __('Please do %snot%s use this form to report bugs. Use the package comments instead.',
|
||||
'<strong>', '</strong>'); ?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue