|
Eashan |
c8383d |
Tips and tricks
|
|
Eashan |
c8383d |
===============
|
|
Eashan |
c8383d |
|
|
Pierre-Yves Chibon |
42c81c |
This page contains some tips and tricks on how to use pagure. These do not
|
|
Pierre-Yves Chibon |
42c81c |
fit in their own page but are worth mentioning.
|
|
Pierre-Yves Chibon |
42c81c |
|
|
clime |
48d801 |
Place image onto your overview page
|
|
clime |
48d801 |
-----------------------------------
|
|
clime |
48d801 |
|
|
clime |
48d801 |
You can only use images that come from the Pagure host itself.
|
|
clime |
48d801 |
|
|
clime |
48d801 |
Example
|
|
clime |
48d801 |
~~~~~~~
|
|
clime |
48d801 |
|
|
clime |
5fdf28 |
::
|
|
clime |
5fdf28 |
|
|
clime |
5fdf28 |
![See Copr workflow](/copr/copr/raw/master/f/doc/img/copr-workflow.png)
|
|
clime |
48d801 |
|
|
clime |
48d801 |
Text in the square brackets will be used as an alt description.
|
|
Pierre-Yves Chibon |
42c81c |
|
|
Pierre-Yves Chibon |
322961 |
Pre-fill issue using the URL
|
|
Pierre-Yves Chibon |
322961 |
----------------------------
|
|
Eashan |
c8383d |
|
|
René Genz |
ec0022 |
When creating issues for a project pagure supports pre-filling the title
|
|
René Genz |
ec0022 |
and description input text using URL parameters.
|
|
Eashan |
c8383d |
|
|
Eashan |
c8383d |
Example:
|
|
Eashan |
c8383d |
~~~~~~~~
|
|
Eashan |
c8383d |
https://pagure.io/pagure/new_issue/?title=<issue>&content=<issue content=""></issue></issue>
|
|
Eashan |
c8383d |
|
|
Eashan |
c8383d |
The above URL will autofill the text boxes for Title and Description field
|
|
Eashan |
c8383d |
with Title set to <issue> and Description set to <issue content="">.</issue></issue>
|
|
Pierre-Yves Chibon |
e79766 |
|
|
Pierre-Yves Chibon |
e79766 |
|
|
Pierre-Yves Chibon |
322961 |
Pre-fill issue template using the URL
|
|
Pierre-Yves Chibon |
322961 |
-------------------------------------
|
|
Pierre-Yves Chibon |
322961 |
|
|
Pierre-Yves Chibon |
322961 |
When creating issues for a project pagure supports pre-filling the title
|
|
Pierre-Yves Chibon |
322961 |
and description input text using URL parameters.
|
|
Pierre-Yves Chibon |
322961 |
|
|
Pierre-Yves Chibon |
322961 |
Example:
|
|
Pierre-Yves Chibon |
322961 |
~~~~~~~~
|
|
Pierre-Yves Chibon |
322961 |
https://pagure.io/pagure/new_issue/?template=<templatename></templatename>
|
|
Pierre-Yves Chibon |
322961 |
|
|
Pierre-Yves Chibon |
322961 |
The above URL will autofill the ticket with the specified template. The
|
|
Pierre-Yves Chibon |
322961 |
TemplateName should be the name of the template file on disk (in the
|
|
Pierre-Yves Chibon |
322961 |
``templates`` directory of the ticket git repository).
|
|
Pierre-Yves Chibon |
322961 |
|
|
Pierre-Yves Chibon |
322961 |
|
|
Pierre-Yves Chibon |
e79766 |
Filter for issues *not* having a certain tag
|
|
Pierre-Yves Chibon |
e79766 |
--------------------------------------------
|
|
Pierre-Yves Chibon |
e79766 |
|
|
Pierre-Yves Chibon |
e79766 |
Very much in the same way pagure allows you to filter for issues having a
|
|
Sergio Durigan Junior |
55ceba |
certain tag, pagure allows one to filter for issues *not* having a certain tag.
|
|
Pierre-Yves Chibon |
e79766 |
To do this, simply prepend a ``!`` in front of the tag.
|
|
Pierre-Yves Chibon |
e79766 |
|
|
Pierre-Yves Chibon |
e79766 |
Example:
|
|
Pierre-Yves Chibon |
e79766 |
~~~~~~~~
|
|
Pierre-Yves Chibon |
e79766 |
https://pagure.io/pagure/issues?tags=!easyfix
|
|
Vivek Anand |
c9b5bc |
|
|
Vivek Anand |
c9b5bc |
|
|
Vivek Anand |
c9b5bc |
Local user creation without email verification
|
|
Vivek Anand |
c9b5bc |
----------------------------------------------
|
|
Vivek Anand |
c9b5bc |
|
|
Vivek Anand |
c9b5bc |
If you set ``EMAIL_SEND`` to ```False``` from the configuration file, you
|
|
Vivek Anand |
c9b5bc |
will get the emails printed to the console instead of being sent. The admin
|
|
Vivek Anand |
c9b5bc |
of the instance can then access the URL to manually validate the account from
|
|
Vivek Anand |
c9b5bc |
there. This is generally used for development where we don't need to send
|
|
Vivek Anand |
c9b5bc |
any emails.
|
|
Pierre-Yves Chibon |
5cdb69 |
|
|
Pierre-Yves Chibon |
5cdb69 |
|
|
Pierre-Yves Chibon |
5cdb69 |
Filter an user's projects by their access
|
|
Pierre-Yves Chibon |
5cdb69 |
-----------------------------------------
|
|
Pierre-Yves Chibon |
5cdb69 |
|
|
Pierre-Yves Chibon |
2ff10f |
When watching a user's page, the list of all the project that user is
|
|
Pierre-Yves Chibon |
5cdb69 |
involved in is presented regardless of whether the user has ticket, commit,
|
|
Pierre-Yves Chibon |
5cdb69 |
admin access or is the main admin of the project.
|
|
Pierre-Yves Chibon |
5cdb69 |
|
|
René Genz |
ec0022 |
You can specify an ``acl=`` argument to the URL to filter the list of
|
|
Pierre-Yves Chibon |
2ff10f |
projects by access.
|
|
Pierre-Yves Chibon |
5cdb69 |
|
|
Pierre-Yves Chibon |
5cdb69 |
|
|
Pierre-Yves Chibon |
2ff10f |
.. note:: This also works for your home page when you are logged in.
|
|
Pierre-Yves Chibon |
5cdb69 |
|
|
Pierre-Yves Chibon |
5cdb69 |
|
|
Pierre-Yves Chibon |
5cdb69 |
Examples:
|
|
Pierre-Yves Chibon |
5cdb69 |
~~~~~~~~~
|
|
Pierre-Yves Chibon |
5cdb69 |
https://pagure.io/user/pingou?acl=main admin
|
|
Pierre-Yves Chibon |
5cdb69 |
https://pagure.io/user/pingou?acl=admin
|
|
Pierre-Yves Chibon |
5cdb69 |
https://pagure.io/user/pingou?acl=commit
|
|
Pierre-Yves Chibon |
52df0c |
|
|
Pierre-Yves Chibon |
52df0c |
|
|
Pierre-Yves Chibon |
52df0c |
Filter issues by (custom) fields
|
|
Pierre-Yves Chibon |
52df0c |
--------------------------------
|
|
Pierre-Yves Chibon |
52df0c |
|
|
Pierre-Yves Chibon |
52df0c |
Via the project's settings page, admins can set custom keys to be used in
|
|
Pierre-Yves Chibon |
52df0c |
issues. You can search them using the URL via the arguments ``ckeys`` and
|
|
Pierre-Yves Chibon |
52df0c |
``cvalue`` or simpler, using the search field at the top of the issue page.
|
|
Pierre-Yves Chibon |
52df0c |
|
|
Pierre-Yves Chibon |
52df0c |
This also works for the following regular fields: ``tags``, ``milestones``,
|
|
Pierre-Yves Chibon |
52df0c |
``author``, ``assignee``, ``status``, ``priority`` (but tags and milestones
|
|
Pierre-Yves Chibon |
52df0c |
despite their name only support a single value).
|
|
Pierre-Yves Chibon |
52df0c |
|
|
Pierre-Yves Chibon |
52df0c |
Examples:
|
|
Pierre-Yves Chibon |
52df0c |
~~~~~~~~~
|
|
Pierre-Yves Chibon |
52df0c |
https://pagure.io/SSSD/sssd/issues?status=Open&search_pattern=review%3ATrue
|
|
Pierre-Yves Chibon |
52df0c |
https://pagure.io/pagure/issues?status=Open&search_pattern=tags%3Aeasyfix
|
|
Pierre-Yves Chibon |
5a38c1 |
|
|
Pierre-Yves Chibon |
5a38c1 |
|
|
Pierre-Yves Chibon |
5a38c1 |
Search the comments of issues
|
|
Pierre-Yves Chibon |
5a38c1 |
-----------------------------
|
|
Pierre-Yves Chibon |
5a38c1 |
|
|
Pierre-Yves Chibon |
5a38c1 |
One can search all the comments made on an issue tracker using
|
|
Pierre-Yves Chibon |
5a38c1 |
``content:<keyword>`` in the search field. This is going to search all the</keyword>
|
|
Pierre-Yves Chibon |
5a38c1 |
comments (including the descriptions) of all the tickets and thus can be quite
|
|
Pierre-Yves Chibon |
5a38c1 |
slow on large project. This is why this feature isn't being pushed much forward.
|
|
Pierre-Yves Chibon |
5a38c1 |
|
|
Pierre-Yves Chibon |
5a38c1 |
Examples:
|
|
Pierre-Yves Chibon |
5a38c1 |
~~~~~~~~~
|
|
Pierre-Yves Chibon |
5a38c1 |
https://pagure.io/pagure/issues?status=Open&search_pattern=content%3Aeasyfix
|