mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Add support for package base co-maintainers
This allows for having multiple co-maintainers for AUR packages. Co-maintainers have push access to the package base Git repository but are not allowed to change the package base category, disown the package or modify the list of co-maintainers. The primary maintainer of an AUR package can edit the list of co-maintainers from the Package Actions box. Implements FS#17911. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
b32458cb8a
commit
fc23a9bd50
12 changed files with 156 additions and 9 deletions
20
web/template/comaintainers_form.php
Normal file
20
web/template/comaintainers_form.php
Normal file
|
@ -0,0 +1,20 @@
|
|||
<div class="box">
|
||||
<h2><?= __('Manage Co-maintainers: %s', htmlspecialchars($pkgbase_name)) ?></h2>
|
||||
<p>
|
||||
<?= __('Use this form to add co-maintainers for %s%s%s (one user name per line):',
|
||||
'<strong>', htmlspecialchars($pkgbase_name), '</strong>'); ?>
|
||||
</p>
|
||||
<form action="<?= get_pkgbase_uri($pkgbase_name); ?>" method="post">
|
||||
<fieldset>
|
||||
<input type="hidden" name="token" value="<?= htmlspecialchars($_COOKIE['AURSID']) ?>" />
|
||||
<p>
|
||||
<label for="id_users"><?= __("Users") ?>:</label>
|
||||
<textarea name="users" id="id_users" rows="5" cols="50"><?= htmlspecialchars(implode("\n", $users)) ?></textarea>
|
||||
</p>
|
||||
<p>
|
||||
<input type="submit" class="button" name="do_EditComaintainers" value="<?= __("Save") ?>" />
|
||||
</p>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue