Commit a26fecec authored by gregor herrmann's avatar gregor herrmann

Slightly improve documentation about DPT_* variables, dpt-config, and dpt.conf

in various scripts.
parent 3bb0213a
......@@ -24,7 +24,7 @@ dpt-github-oauth - Generate GitHub OAuth2 token
B<dpt github-oauth> can be used for obtaining an OAuth2 token for
authenticating to GitHub services without the need to enter your password on
every request. The reason for this script is to allow you to populate the
C<DPT_GITHUB_OAUTH> setting in F<dpt.conf> easily.
C<DPT_GITHUB_OAUTH> setting in F<dpt.conf> or F<~/.config/dpt.conf> easily.
You cannot obtain an OAuth2 token with this script if you have two-factor
authentication (2FA) enabled on GitHub.
......@@ -80,8 +80,8 @@ my $o = $oauth->create_authorization(
print <<EOF;
The following line may be added to ~/.config/dpt.conf to allow dpt
to identify as yourself before GitHub:
The following line may be added to ~/.config/dpt.conf or ~/.config/dpt.conf
to allow dpt to identify as yourself before GitHub:
......@@ -21,6 +21,10 @@ B<dpt invite-github> can be used for inviting people to become members
of a GitHub organization. You can set the organization name through
C<DPT_GITHUB_ORGNAME> environment variable (defaults to I<pkg-perl-tools>).
This script needs the C<DPT_GITHUB_OAUTH> environment variable,
which can be set in F<~/.dpt.conf> or F<~/.config/dpt.conf>.
Cf. L<dpt-github-oauth(1)> and L<dpt-config(5)>.
You need to have write access to the C<admin:org> scope to be able to
manage organization memberships. Please, make sure the token you use
has that scope in L<>.
......@@ -20,7 +20,7 @@ Usage: $BN [options] package...
-t path Top location of local repository clones (containing packages/)
Required. Defaults to the DPT_PACKAGES setting
Required. Defaults to the DPT_PACKAGES setting. Cf. dpt-config(5)
-m URL URL to a message in which the previous maintainer requests the
-a # RFA/ITA bug number (conflicts with -m)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment