ghedo / p5-dist-zilla-plugin-github Goto Github PK
View Code? Open in Web Editor NEWPlugins to integrate Dist::Zilla with GitHub
Home Page: http://metacpan.org/release/Dist-Zilla-Plugin-GitHub/
License: Other
Plugins to integrate Dist::Zilla with GitHub
Home Page: http://metacpan.org/release/Dist-Zilla-Plugin-GitHub/
License: Other
I created a new local distribution and received the following email from github:
You recently used a password to access an endpoint through the GitHub API using HTTP-Tiny/0.056_001. We will deprecate basic authentication using password to this endpoint soon:
https://api.github.com/user/repos
We recommend using a personal access token (PAT) with the appropriate scope to access this endpoint instead. Visit https://github.com/settings/tokens for more information.
Thanks,
The GitHub Team
I went to release a newly-minted dist, that used [GitHub::Create] at minting time:
: [ether@tequila git/Test-Deep-UnorderedPairs]$; dzil release
Smartmatch is experimental at (eval 243) line 7.
Smartmatch is experimental at (eval 243) line 14.
Smartmatch is experimental at (eval 245) line 7.
Smartmatch is experimental at (eval 245) line 14.
Smartmatch is experimental at (eval 247) line 7.
Smartmatch is experimental at (eval 247) line 14.
Smartmatch is experimental at (eval 249) line 10.
Smartmatch is experimental at (eval 249) line 20.
[DZ] beginning to build Test-Deep-UnorderedPairs
[DZ] guessing dist's main_module is lib/Test/Deep/UnorderedPairs.pm
[DZ] extracting distribution abstract from lib/Test/Deep/UnorderedPairs.pm
[@Author::ETHER/ReadmeAnyFromPod] Override README.md in root
[DZ] writing Test-Deep-UnorderedPairs in Test-Deep-UnorderedPairs-0.001
[@Author::ETHER/CopyFilesFromBuild] Copied Test-Deep-UnorderedPairs-0.001/LICENSE to ./LICENSE
[DZ] building archive with Archive::Tar::Wrapper
[DZ] writing archive to Test-Deep-UnorderedPairs-0.001.tar.gz
[@Author::ETHER/Git::Check] branch master is in a clean state
[@Author::ETHER/Git::CheckFor::MergeConflicts] No merge conflict markers found; OK to release
[@Author::ETHER/Git::CheckFor::CorrectBranch] Current branch (master) and release branch match ( master )
[@Author::ETHER/Git::Remote::Check] Updating remote 'origin'
fatal: ambiguous argument 'origin/master': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
.git/config at this time contains:
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
ignorecase = true
precomposeunicode = false
[user]
email = [email protected]
[remote "origin"]
url = [email protected]:karenetheridge/Test-Deep-UnorderedPairs.git
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
merge = refs/heads/master
remote = origin
performing 'git push -u origin master' let the release complete.
I'm not sure what is missing in the repository spec to make things work
without manual intervention? After I did 'push -u', the only difference to
the config was that rebase = true
was added to the branch specification.
Or do I just need to add this command to my minting profile with
[Run::AfterMint]? It feels like this should be done automatically, by
[GitHub::Create].
I got wrong metadata for my repository, https://github.com/pavelsr/net-ip-checker using [Github::Meta]
plugin, it showed links from forked repository.
E.g. META.yml looked as
---
abstract: 'IPv4/IPv6 addresses validator'
author:
- 'Pavel Serikov <[email protected]>'
build_requires:
Test::More: '0'
configure_requires:
ExtUtils::MakeMaker: '0'
dynamic_config: 0
generated_by: 'Dist::Zilla version 6.010, CPAN::Meta::Converter version 2.150001'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: '1.4'
name: Net-IP-Checker
requires:
Exporter: '0'
Regexp::IPv4: '0'
Regexp::IPv6: '0'
strict: '0'
warnings: '0'
resources:
bugtracker: https://github.com/bingos/net-ip-minimal/issues
homepage: http://metacpan.org/release/Net-IP-Minimal
repository: git://github.com/bingos/net-ip-minimal.git
version: '0.01'
x_serialization_backend: 'YAML::Tiny version 1.70'
Solved by migrating to alternative plugin, https://metacpan.org/pod/Dist::Zilla::Plugin::GithubMeta, but still please have a look
During release:
[@Author::ETHER/GitHub::Update] Updating GitHub repository info
[@Author::ETHER/GitHub::Update] Using MetaCPAN URL
[@Author::ETHER/GitHub::Update] Err: Not Found
The repository in question is https://github.com/Leont/dist-zilla-plugin-test-checkdeps
The exact config being used is:
[GitHub::Update]
metacpan = 1
I'm not sure what the problem was, or how it can be remedied? If there is a permissions issue (because I am a contributor to leont's repo, rather than me being the owner), it would be helpful for that to be in the error message, so I can drop the use of the plugin for this dist.
I have one more request, but I don't yet have time to implement myself...
The Pod::Weaver::Section::Support plugin throws a fatal error if it does not find the right metadata. Usually, I have D::Z::Plugin::GitHub::Meta provide that metadata. But if I'm offline, then Github::Meta doesn't provide any metadata and DZ blows up. It usually looks something like this:
[DZ] beginning to build Dist-Zilla-Chef
[DZ] dist's main_module is lib/Dist/Zilla/Chef.pm
[DZ] extracting distribution abstract from lib/Dist/Zilla/Chef.pm
[GitHub::Meta] Getting GitHub repository info
[GitHub::Meta] Err: Can't connect to GitHub.com
[DZ] No bugtracker in metadata!
So this basically means I can't build my dist when I'm offline (unless I tweak my dist.ini). Obviously, that is a major hassle. So I propose that Github::Meta should provide some dummy values for the metadata, if it can't get a response from GitHub. You might also throw in a prompt to ask whether to use the dummy values or abort the build.
It looks like you've already got Git::Wrapper as a dependency - but [Github::Meta] is still calling out to 'git remote' directly.
maybe it already does... but if create doesn't add the remote locally could you add that feature. I kind of suspect it does already, though. So this bug is really about adding a feature to custom name the default remote. I know by default most people use origin
but by default I always use my
as this makes for better finger habits when working on larger projects (e.g. origin is the canonical repo, but my
is my copy)
The lack of win32 coverage here is startling: http://matrix.cpantesters.org/?dist=Dist-Zilla-Plugin-GitHub+0.36
Is there something in the Makefile.PL that is preventing smokers from even testing? Other git plugins work fine on win32, e.g.:
http://matrix.cpantesters.org/?dist=Dist-Zilla-Plugin-Git-Describe+0.003
http://matrix.cpantesters.org/?dist=Dist-Zilla-Plugin-Git-PushInitial+0.02
Providing an optimized subroutine ref for type constraints is deprecated. Use the
inlining feature (inline_as) instead. at C:/strawberry514/perl/site/lib/Dist/Zilla/Plugin/GithubMeta.pm line 13, line 18.
Dist::Zilla::Plugin::GithubMeta::BEGIN() called at C:/strawberry514/perl/site/lib/MooseX/Types/URI.pm line 0
eval {...} called at C:/strawberry514/perl/site/lib/MooseX/Types/URI.pm line 0
require Dist/Zilla/Plugin/GithubMeta.pm called at C:/strawberry514/perl/site/lib/Module/Runtime.pm line 317
Module::Runtime::require_module('Dist::Zilla::Plugin::GithubMeta') called at C:/strawberry514/perl/site/lib/Class/Load.pm line 177
Module still works, but message is inconvenient due to size.
Dist-Zilla-Plugin-GitHub 0.32
Moo 1.000006
I keep all my repo's based on my distname, so instead of specifying it, it'd be nice if this plugin could just go with that if I don't specify it.
I use these plugins as part of a bundle, and I found at least GitHub::Update
checks for some information it needs only after the release, and then errors if it does not find it. It would be good to check up front and not let the release occur if it will cause an error. That way we could fix these problems before we have many side effects.
Here's a snippet of what I saw:
[@MAXMIND/UploadToCPAN] POSTing upload for WebService-PayPal-PaymentsAdvanced-0.000023.tar.gz to https://pause.perl.org/pause/authenquery
[@MAXMIND/UploadToCPAN] PAUSE add message sent ok [200]
[@MAXMIND/GitHub::Update] Err: Missing value 'github.user' in git config
*** Please tell me who you are.
Run
git config --global user.email "[email protected]"
git config --global user.name "Your Name"
to set your account's default identity.
Omit --global to set the identity only in this repository.
fatal: unable to auto-detect email address (got 'root@12f515da5e27.(none)')
Thank you!
This plugin installed fine, but running dzil new
with it fails. I placed the following in my profile.ini file:
[Github::Create]
repo = {{ $dist -> name }}
prompt = true ; ask first
remote = origin
Now when I run dzil new Foo::Bar
I get the following error:
Can't locate object method "register_component" via package "Dist::Zilla::Plugin::Github::Create" (perhaps you forgot to load "Dist::Zilla::Plugin::Github::Create"?) at C:/strawberry/perl/site/lib/Dist/Zilla/MVP/Section.pm line 36, <GEN1> line 21.
I am using Dist::Zilla 4.300034, Strawberry Perl, Windows 7 x64. My profile.ini also contains [Git::Init]
sometime before [Github::Create]
.
Currently, you don't extract the user/org name from the repo URL in _get_repo_name
- instead, you tack on $login/
and hope it is correct. $login
is taken from a global config file, while the repo URL provides the most specific information about where we should be looking. If you use a regex like this
/github\.com.*?[:\/](.*)\.git$/
then you'll extract the user/org name as well -- the returned value will then be correct.
If you're offline, you might still want to use dzil. Please don't bail out in that case.
My GitHub account is set up for two-factor authentication per this article. Unfortunately it looks like DZP::GitHub::Update doesn't prompt for the one-time password (OTP) after entering my main password.
So on OSX I installed this plugin and I do:
sudo dzil new MyTest::Library
[DZ] making target dir /Users/gideon/Documents/Coding/GithubCode/MyTest-Library
[DZ] writing files to /Users/gideon/Documents/Coding/GithubCode/MyTest-Library
GitHub password for 'gideondsouza'
[GitHub::Create] Creating new GitHub repository 'mytest-library'
[GitHub::Create] Issues are enabled
[GitHub::Create] Wiki is enabled
[GitHub::Create] Downloads are enabled
[GitHub::Create] Err: Can't connect to GitHub
[DZ] dist minted in ./MyTest-Library
I looked at the code, and I don't get anything from the try log, just the catch portion logs. Any clues how I should narrow it down?
Providing an optimized subroutine ref for type constraints is deprecated. Use the inlining feature (inline_as) instead. at /home/mike/perl5/perlbrew/perls/perl-5.14.1/lib/site_perl/5.14.1/Dist/Zilla/Plugin/GithubMeta.pm line 13
...whatever that means.
If I set homepage => 0
for Github::Meta and set a homepage with some other plugin, then Github::Update should use that URL.
I'd like to have the option
username = foo
or something that sets the root "user" for github. We have recently added a github account for our corporation that has authed my personal account, so my .gitconfig
is still right, but the user that all off the metadata should be under is different.
Is it possible to check whether the repo was forked from an organization's repo? If so, it'd be nice to point to that instead of the user's individual fork. For example, the org may have issues enabled, but the user may not.
for the project I'm runnnig this on I haven't created a github repository yet, or added a remote. However I don't see that this should matter since it won't change any of the end url's.
~/.gitconfig
[github]
user = xenoterracide
token = obfuscated
relevant dist.ini
[GitHub::Meta]
here's the output I'm getting from dzil
[GitHub::Meta] Getting GitHub repository info
Use of uninitialized value $git_url in substitution (s///) at /home/xenoterracide/perl5/perlbrew/perls/perl-5.14.1/lib/site_perl/5.14.1/Dist/Zilla/Plugin/GitHub/Meta.pm line 129.
Use of uninitialized value in numeric eq (==) at /home/xenoterracide/perl5/perlbrew/perls/perl-5.14.1/lib/site_perl/5.14.1/Dist/Zilla/Plugin/GitHub/Meta.pm line 133.
Use of uninitialized value in numeric eq (==) at /home/xenoterracide/perl5/perlbrew/perls/perl-5.14.1/lib/site_perl/5.14.1/Dist/Zilla/Plugin/GitHub/Meta.pm line 137.
[DZ] writing Pod-Weaver-Section-Acknowledgements in Pod-Weaver-Section-Acknowledgements-0.1.0
[@Filter/MetaYAML] Invalid META structure. Errors found:
[@Filter/MetaYAML] '' for 'web' is not a valid URL. (resources -> repository -> web) [Validation: 2]
[@Filter/MetaYAML] '.git' for 'url' does not have a URL scheme (resources -> repository -> url) [Validation: 2]
[@Filter/MetaYAML] Invalid META structure. Errors found:
[@Filter/MetaYAML] '' for 'web' is not a valid URL. (resources -> repository -> web) [Validation: 2]
[@Filter/MetaYAML] '.git' for 'url' does not have a URL scheme (resources -> repository -> url) [Validation: 2] at /home/xenoterracide/perl5/perlbrew/perls/perl-5.14.1/lib/site_perl/5.14.1/x86_64-linux-thread-multi/Moose/Meta/Method/Delegation.pm line 110
https://docs.github.com/en/actions/learn-github-actions/variables#default-environment-variables:
GITHUB_REPOSITORY_OWNER: The repository owner's name. For example, octocat.
In the machine of github CI/CD, environment variable $GITHUB_REPOSITORY_OWNER
will be set to the name of github user. So it can be convenient to use it to avoid extra git config github.user $GITHUB_REPOSITORY_OWNER
given is experimental at /home/mike/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.17.11/Dist/Zilla/App/Command/gh.pm line 51.
when is experimental at /home/mike/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.17.11/Dist/Zilla/App/Command/gh.pm line 52.
when is experimental at /home/mike/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.17.11/Dist/Zilla/App/Command/gh.pm line 74.
This was with version 0.46 as well. The same release as in #55.
In the build step I see this:
[@MAXMIND/GitHub::Meta] Getting GitHub repository info
[@MAXMIND/GitHub::Meta] Err: Not Found
[@MAXMIND/GitHub::Meta] Using offline repository information
However I was online. I continued with the release as I didn't notice this. Likely it would be better to fail completely rather than continue here.
The META.json/META.yml files ended up with invalid info for the repository, and missing the GitHub issues link.
Thank you!
Instead of using origin
try to fetch it from git first using for example result of
git branch -rl "*/HEAD"
or (expecting master
to be default branch)
git rev-parse --abbrev-ref --symbolic-full-name master@{upstream}
: [ether@tequila git/Dist-Zilla-PluginBundle-Author-ETHER].6$; dzil test --release
Smartmatch is experimental at (eval 243) line 7.
Smartmatch is experimental at (eval 243) line 14.
Smartmatch is experimental at (eval 245) line 7.
Smartmatch is experimental at (eval 245) line 14.
Smartmatch is experimental at (eval 247) line 7.
Smartmatch is experimental at (eval 247) line 14.
Smartmatch is experimental at (eval 249) line 10.
Smartmatch is experimental at (eval 249) line 20.
given is experimental at /Users/ether/.perlbrew/libs/17.11@std/lib/perl5/Dist/Zilla/App/Command/gh.pm line 51.
when is experimental at /Users/ether/.perlbrew/libs/17.11@std/lib/perl5/Dist/Zilla/App/Command/gh.pm line 52.
when is experimental at /Users/ether/.perlbrew/libs/17.11@std/lib/perl5/Dist/Zilla/App/Command/gh.pm line 74.
: [ether@tequila git/Dist-Zilla-PluginBundle-Author-ETHER].6$; perl -v
This is perl 5, version 17, subversion 11 (v5.17.11) built for darwin-2level
Just a little reminder for myself. It'd be nice to have a plugin that creates a new GitHub release on dzil release
. See the API docs.
I was doing a release, and was prompted for my GitHub password. Afterwards, the plugin started looping and I had to control-c to get out of it. I believe it might have been trying to prompt for a 2 factor auth code, but I'm not sure.
My GitHub account has 2 factor auth set up with the authenticator app as well as security keys. I assume it would have been trying to ask for a TOTP code from the app.
Possibly there was something else wrong given the "Err: Not Found" message, but I don't know.
[@MAXMIND/ConfirmRelease] *** Preparing to release GeoIP2-2.006000.tar.gz with @MAXMIND/UploadToCPAN ***
Do you want to continue the release process? [y/N]: y
[@MAXMIND/PromptIfStale] checking for stale authordeps, plugins, prerequisites...
[@MAXMIND/CheckPrereqsIndexed] checking prereqs against CPAN index
[@MAXMIND/CheckPrereqsIndexed] all prereqs appear to be indexed
[@MAXMIND/MAXMIND::CheckChangesHasContent] Checking Changes
[@MAXMIND/MAXMIND::CheckChangesHasContent] Changes file has content for release
[@MAXMIND/MAXMIND::Git::CheckFor::CorrectBranch] Current branch (master) and release branch match (master)
[@MAXMIND/Git::CheckFor::MergeConflicts] No merge conflict markers found; OK to release
[@MAXMIND/Git::Check] branch master is in a clean state
[@MAXMIND/UploadToCPAN] registering upload with PAUSE web server
[@MAXMIND/UploadToCPAN] POSTing upload for GeoIP2-2.006000.tar.gz to https://pause.perl.org/pause/authenquery
[@MAXMIND/UploadToCPAN] PAUSE add message sent ok [200]
GitHub password for 'horgh' :
[@MAXMIND/GitHub::Update] Updating GitHub repository info
[@MAXMIND/GitHub::Update] Using MetaCPAN URL
[@MAXMIND/GitHub::Update] Err: Not Found
[@MAXMIND/GitHub::Update] Retrying with two-factor authentication
[@MAXMIND/GitHub::Update] Updating GitHub repository info
[@MAXMIND/GitHub::Update] Using MetaCPAN URL
[@MAXMIND/GitHub::Update] Err: Not Found
[@MAXMIND/GitHub::Update] Using two-factor authentication
Use of uninitialized value $_ in substitution (s///) at /usr/share/perl/5.26/HTTP/Tiny.pm line 1338.
Use of uninitialized value $_ in string eq at /usr/share/perl/5.26/HTTP/Tiny.pm line 1339.
[@MAXMIND/GitHub::Update] Retrying with two-factor authentication
[@MAXMIND/GitHub::Update] Updating GitHub repository info
[@MAXMIND/GitHub::Update] Using MetaCPAN URL
[@MAXMIND/GitHub::Update] Err: Not Found
[@MAXMIND/GitHub::Update] Using two-factor authentication
Use of uninitialized value $_ in substitution (s///) at /usr/share/perl/5.26/HTTP/Tiny.pm line 1338.
Use of uninitialized value $_ in string eq at /usr/share/perl/5.26/HTTP/Tiny.pm line 1339.
[@MAXMIND/GitHub::Update] Retrying with two-factor authentication
[@MAXMIND/GitHub::Update] Updating GitHub repository info
[@MAXMIND/GitHub::Update] Using MetaCPAN URL
[@MAXMIND/GitHub::Update] Err: Not Found
[@MAXMIND/GitHub::Update] Using two-factor authentication
Use of uninitialized value $_ in substitution (s///) at /usr/share/perl/5.26/HTTP/Tiny.pm line 1338.
Use of uninitialized value $_ in string eq at /usr/share/perl/5.26/HTTP/Tiny.pm line 1339.
[@MAXMIND/GitHub::Update] Retrying with two-factor authentication
[@MAXMIND/GitHub::Update] Updating GitHub repository info
[@MAXMIND/GitHub::Update] Using MetaCPAN URL
[@MAXMIND/GitHub::Update] Err: Not Found
[@MAXMIND/GitHub::Update] Using two-factor authentication
Use of uninitialized value $_ in substitution (s///) at /usr/share/perl/5.26/HTTP/Tiny.pm line 1338.
Use of uninitialized value $_ in string eq at /usr/share/perl/5.26/HTTP/Tiny.pm line 1339.
[@MAXMIND/GitHub::Update] Retrying with two-factor authentication
[@MAXMIND/GitHub::Update] Updating GitHub repository info
[@MAXMIND/GitHub::Update] Using MetaCPAN URL
[@MAXMIND/GitHub::Update] Err: Not Found
[@MAXMIND/GitHub::Update] Using two-factor authentication
Use of uninitialized value $_ in substitution (s///) at /usr/share/perl/5.26/HTTP/Tiny.pm line 1338.
Use of uninitialized value $_ in string eq at /usr/share/perl/5.26/HTTP/Tiny.pm line 1339.
[@MAXMIND/GitHub::Update] Retrying with two-factor authentication
[@MAXMIND/GitHub::Update] Updating GitHub repository info
[@MAXMIND/GitHub::Update] Using MetaCPAN URL
[@MAXMIND/GitHub::Update] Err: Not Found
[@MAXMIND/GitHub::Update] Using two-factor authentication
Use of uninitialized value $_ in substitution (s///) at /usr/share/perl/5.26/HTTP/Tiny.pm line 1338.
Use of uninitialized value $_ in string eq at /usr/share/perl/5.26/HTTP/Tiny.pm line 1339.
[@MAXMIND/GitHub::Update] Retrying with two-factor authentication
[@MAXMIND/GitHub::Update] Updating GitHub repository info
[@MAXMIND/GitHub::Update] Using MetaCPAN URL
[@MAXMIND/GitHub::Update] Err: Not Found
[@MAXMIND/GitHub::Update] Using two-factor authentication
Use of uninitialized value $_ in substitution (s///) at /usr/share/perl/5.26/HTTP/Tiny.pm line 1338.
Use of uninitialized value $_ in string eq at /usr/share/perl/5.26/HTTP/Tiny.pm line 1339.
[@MAXMIND/GitHub::Update] Retrying with two-factor authentication
[@MAXMIND/GitHub::Update] Updating GitHub repository info
[@MAXMIND/GitHub::Update] Using MetaCPAN URL
[@MAXMIND/GitHub::Update] Err: Not Found
[@MAXMIND/GitHub::Update] Using two-factor authentication
Use of uninitialized value $_ in substitution (s///) at /usr/share/perl/5.26/HTTP/Tiny.pm line 1338.
Use of uninitialized value $_ in string eq at /usr/share/perl/5.26/HTTP/Tiny.pm line 1339.
[@MAXMIND/GitHub::Update] Retrying with two-factor authentication
[@MAXMIND/GitHub::Update] Updating GitHub repository info
[@MAXMIND/GitHub::Update] Using MetaCPAN URL
[@MAXMIND/GitHub::Update] Err: Not Found
[@MAXMIND/GitHub::Update] Using two-factor authentication
Use of uninitialized value $_ in substitution (s///) at /usr/share/perl/5.26/HTTP/Tiny.pm line 1338.
Use of uninitialized value $_ in string eq at /usr/share/perl/5.26/HTTP/Tiny.pm line 1339.
[@MAXMIND/GitHub::Update] Retrying with two-factor authentication
[@MAXMIND/GitHub::Update] Updating GitHub repository info
[@MAXMIND/GitHub::Update] Using MetaCPAN URL
[@MAXMIND/GitHub::Update] Err: Not Found
[@MAXMIND/GitHub::Update] Using two-factor authentication
Use of uninitialized value $_ in substitution (s///) at /usr/share/perl/5.26/HTTP/Tiny.pm line 1338.
Use of uninitialized value $_ in string eq at /usr/share/perl/5.26/HTTP/Tiny.pm line 1339.
[@MAXMIND/GitHub::Update] Retrying with two-factor authentication
[@MAXMIND/GitHub::Update] Updating GitHub repository info
[@MAXMIND/GitHub::Update] Using MetaCPAN URL
[@MAXMIND/GitHub::Update] Err: Not Found
[@MAXMIND/GitHub::Update] Using two-factor authentication
Use of uninitialized value $_ in substitution (s///) at /usr/share/perl/5.26/HTTP/Tiny.pm line 1338.
Use of uninitialized value $_ in string eq at /usr/share/perl/5.26/HTTP/Tiny.pm line 1339.
[@MAXMIND/GitHub::Update] Retrying with two-factor authentication
[@MAXMIND/GitHub::Update] Updating GitHub repository info
[@MAXMIND/GitHub::Update] Using MetaCPAN URL
[@MAXMIND/GitHub::Update] Err: Not Found
[@MAXMIND/GitHub::Update] Using two-factor authentication
Use of uninitialized value $_ in substitution (s///) at /usr/share/perl/5.26/HTTP/Tiny.pm line 1338.
Use of uninitialized value $_ in string eq at /usr/share/perl/5.26/HTTP/Tiny.pm line 1339.
[@MAXMIND/GitHub::Update] Retrying with two-factor authentication
[@MAXMIND/GitHub::Update] Updating GitHub repository info
[@MAXMIND/GitHub::Update] Using MetaCPAN URL
[@MAXMIND/GitHub::Update] Err: Not Found
[@MAXMIND/GitHub::Update] Using two-factor authentication
Use of uninitialized value $_ in substitution (s///) at /usr/share/perl/5.26/HTTP/Tiny.pm line 1338.
Use of uninitialized value $_ in string eq at /usr/share/perl/5.26/HTTP/Tiny.pm line 1339.
[@MAXMIND/GitHub::Update] Retrying with two-factor authentication
[@MAXMIND/GitHub::Update] Updating GitHub repository info
[@MAXMIND/GitHub::Update] Using MetaCPAN URL
[@MAXMIND/GitHub::Update] Err: Not Found
[@MAXMIND/GitHub::Update] Using two-factor authentication
Use of uninitialized value $_ in substitution (s///) at /usr/share/perl/5.26/HTTP/Tiny.pm line 1338.
Use of uninitialized value $_ in string eq at /usr/share/perl/5.26/HTTP/Tiny.pm line 1339.
[@MAXMIND/GitHub::Update] Retrying with two-factor authentication
[@MAXMIND/GitHub::Update] Updating GitHub repository info
[@MAXMIND/GitHub::Update] Using MetaCPAN URL
[@MAXMIND/GitHub::Update] Err: Not Found
[@MAXMIND/GitHub::Update] Using two-factor authentication
Use of uninitialized value $_ in substitution (s///) at /usr/share/perl/5.26/HTTP/Tiny.pm line 1338.
Use of uninitialized value $_ in string eq at /usr/share/perl/5.26/HTTP/Tiny.pm line 1339.
[@MAXMIND/GitHub::Update] Retrying with two-factor authentication
[@MAXMIND/GitHub::Update] Updating GitHub repository info
[@MAXMIND/GitHub::Update] Using MetaCPAN URL
[@MAXMIND/GitHub::Update] Err: Not Found
[@MAXMIND/GitHub::Update] Using two-factor authentication
Use of uninitialized value $_ in substitution (s///) at /usr/share/perl/5.26/HTTP/Tiny.pm line 1338.
Use of uninitialized value $_ in string eq at /usr/share/perl/5.26/HTTP/Tiny.pm line 1339.
[@MAXMIND/GitHub::Update] Retrying with two-factor authentication
[@MAXMIND/GitHub::Update] Updating GitHub repository info
[@MAXMIND/GitHub::Update] Using MetaCPAN URL
[@MAXMIND/GitHub::Update] Err: Not Found
[@MAXMIND/GitHub::Update] Using two-factor authentication
Use of uninitialized value $_ in substitution (s///) at /usr/share/perl/5.26/HTTP/Tiny.pm line 1338.
Use of uninitialized value $_ in string eq at /usr/share/perl/5.26/HTTP/Tiny.pm line 1339.
[@MAXMIND/GitHub::Update] Retrying with two-factor authentication
[@MAXMIND/GitHub::Update] Updating GitHub repository info
[@MAXMIND/GitHub::Update] Using MetaCPAN URL
[@MAXMIND/GitHub::Update] Err: Not Found
[@MAXMIND/GitHub::Update] Using two-factor authentication
Use of uninitialized value $_ in substitution (s///) at /usr/share/perl/5.26/HTTP/Tiny.pm line 1338.
Use of uninitialized value $_ in string eq at /usr/share/perl/5.26/HTTP/Tiny.pm line 1339.
[@MAXMIND/GitHub::Update] Retrying with two-factor authentication
[@MAXMIND/GitHub::Update] Updating GitHub repository info
[@MAXMIND/GitHub::Update] Using MetaCPAN URL
[@MAXMIND/GitHub::Update] Err: Not Found
[@MAXMIND/GitHub::Update] Using two-factor authentication
Use of uninitialized value $_ in substitution (s///) at /usr/share/perl/5.26/HTTP/Tiny.pm line 1338.
Use of uninitialized value $_ in string eq at /usr/share/perl/5.26/HTTP/Tiny.pm line 1339.
[@MAXMIND/GitHub::Update] Retrying with two-factor authentication
[@MAXMIND/GitHub::Update] Updating GitHub repository info
[@MAXMIND/GitHub::Update] Using MetaCPAN URL
[@MAXMIND/GitHub::Update] Err: Not Found
[@MAXMIND/GitHub::Update] Using two-factor authentication
Use of uninitialized value $_ in substitution (s///) at /usr/share/perl/5.26/HTTP/Tiny.pm line 1338.
Use of uninitialized value $_ in string eq at /usr/share/perl/5.26/HTTP/Tiny.pm line 1339.
[@MAXMIND/GitHub::Update] Retrying with two-factor authentication
[@MAXMIND/GitHub::Update] Updating GitHub repository info
[@MAXMIND/GitHub::Update] Using MetaCPAN URL
[@MAXMIND/GitHub::Update] Err: Not Found
[@MAXMIND/GitHub::Update] Using two-factor authentication
Use of uninitialized value $_ in substitution (s///) at /usr/share/perl/5.26/HTTP/Tiny.pm line 1338.
Use of uninitialized value $_ in string eq at /usr/share/perl/5.26/HTTP/Tiny.pm line 1339.
[@MAXMIND/GitHub::Update] Retrying with two-factor authentication
[@MAXMIND/GitHub::Update] Updating GitHub repository info
[@MAXMIND/GitHub::Update] Using MetaCPAN URL
[@MAXMIND/GitHub::Update] Err: Not Found
[@MAXMIND/GitHub::Update] Using two-factor authentication
Use of uninitialized value $_ in substitution (s///) at /usr/share/perl/5.26/HTTP/Tiny.pm line 1338.
Use of uninitialized value $_ in string eq at /usr/share/perl/5.26/HTTP/Tiny.pm line 1339.
[@MAXMIND/GitHub::Update] Retrying with two-factor authentication
[@MAXMIND/GitHub::Update] Updating GitHub repository info
[@MAXMIND/GitHub::Update] Using MetaCPAN URL
[@MAXMIND/GitHub::Update] Err: Not Found
[@MAXMIND/GitHub::Update] Using two-factor authentication
Use of uninitialized value $_ in substitution (s///) at /usr/share/perl/5.26/HTTP/Tiny.pm line 1338.
Use of uninitialized value $_ in string eq at /usr/share/perl/5.26/HTTP/Tiny.pm line 1339.
[@MAXMIND/GitHub::Update] Retrying with two-factor authentication
[@MAXMIND/GitHub::Update] Updating GitHub repository info
[@MAXMIND/GitHub::Update] Using MetaCPAN URL
[@MAXMIND/GitHub::Update] Err: Not Found
[@MAXMIND/GitHub::Update] Using two-factor authentication
Use of uninitialized value $_ in substitution (s///) at /usr/share/perl/5.26/HTTP/Tiny.pm line 1338.
Use of uninitialized value $_ in string eq at /usr/share/perl/5.26/HTTP/Tiny.pm line 1339.
[@MAXMIND/GitHub::Update] Retrying with two-factor authentication
[@MAXMIND/GitHub::Update] Updating GitHub repository info
[@MAXMIND/GitHub::Update] Using MetaCPAN URL
[@MAXMIND/GitHub::Update] Err: Not Found
[@MAXMIND/GitHub::Update] Using two-factor authentication
Use of uninitialized value $_ in substitution (s///) at /usr/share/perl/5.26/HTTP/Tiny.pm line 1338.
Use of uninitialized value $_ in string eq at /usr/share/perl/5.26/HTTP/Tiny.pm line 1339.
[@MAXMIND/GitHub::Update] Retrying with two-factor authentication
[@MAXMIND/GitHub::Update] Updating GitHub repository info
[@MAXMIND/GitHub::Update] Using MetaCPAN URL
[@MAXMIND/GitHub::Update] Err: Not Found
[@MAXMIND/GitHub::Update] Using two-factor authentication
Use of uninitialized value $_ in substitution (s///) at /usr/share/perl/5.26/HTTP/Tiny.pm line 1338.
Use of uninitialized value $_ in string eq at /usr/share/perl/5.26/HTTP/Tiny.pm line 1339.
[@MAXMIND/GitHub::Update] Retrying with two-factor authentication
[@MAXMIND/GitHub::Update] Updating GitHub repository info
[@MAXMIND/GitHub::Update] Using MetaCPAN URL
[@MAXMIND/GitHub::Update] Err: Not Found
[@MAXMIND/GitHub::Update] Using two-factor authentication
Use of uninitialized value $_ in substitution (s///) at /usr/share/perl/5.26/HTTP/Tiny.pm line 1338.
Use of uninitialized value $_ in string eq at /usr/share/perl/5.26/HTTP/Tiny.pm line 1339.
[@MAXMIND/GitHub::Update] Retrying with two-factor authentication
[@MAXMIND/GitHub::Update] Updating GitHub repository info
[@MAXMIND/GitHub::Update] Using MetaCPAN URL
[@MAXMIND/GitHub::Update] Err: Not Found
[@MAXMIND/GitHub::Update] Using two-factor authentication
Use of uninitialized value $_ in substitution (s///) at /usr/share/perl/5.26/HTTP/Tiny.pm line 1338.
Use of uninitialized value $_ in string eq at /usr/share/perl/5.26/HTTP/Tiny.pm line 1339.
[@MAXMIND/GitHub::Update] Retrying with two-factor authentication
[@MAXMIND/GitHub::Update] Updating GitHub repository info
[@MAXMIND/GitHub::Update] Using MetaCPAN URL
[@MAXMIND/GitHub::Update] Err: API rate limit exceeded for 108.172.153.241. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)
[@MAXMIND/GitHub::Update] Using two-factor authentication
Use of uninitialized value $_ in substitution (s///) at /usr/share/perl/5.26/HTTP/Tiny.pm line 1338.
Use of uninitialized value $_ in string eq at /usr/share/perl/5.26/HTTP/Tiny.pm line 1339.
[@MAXMIND/GitHub::Update] Retrying with two-factor authentication
[@MAXMIND/GitHub::Update] Updating GitHub repository info
[@MAXMIND/GitHub::Update] Using MetaCPAN URL
[@MAXMIND/GitHub::Update] Err: API rate limit exceeded for 108.172.153.241. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)
[@MAXMIND/GitHub::Update] Using two-factor authentication
Use of uninitialized value $_ in substitution (s///) at /usr/share/perl/5.26/HTTP/Tiny.pm line 1338.
Use of uninitialized value $_ in string eq at /usr/share/perl/5.26/HTTP/Tiny.pm line 1339.
[@MAXMIND/GitHub::Update] Retrying with two-factor authentication
[@MAXMIND/GitHub::Update] Updating GitHub repository info
[@MAXMIND/GitHub::Update] Using MetaCPAN URL
[@MAXMIND/GitHub::Update] Err: API rate limit exceeded for 108.172.153.241. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)
[@MAXMIND/GitHub::Update] Using two-factor authentication
Use of uninitialized value $_ in substitution (s///) at /usr/share/perl/5.26/HTTP/Tiny.pm line 1338.
Use of uninitialized value $_ in string eq at /usr/share/perl/5.26/HTTP/Tiny.pm line 1339.
[@MAXMIND/GitHub::Update] Retrying with two-factor authentication
[@MAXMIND/GitHub::Update] Updating GitHub repository info
[@MAXMIND/GitHub::Update] Using MetaCPAN URL
[@MAXMIND/GitHub::Update] Err: API rate limit exceeded for 108.172.153.241. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)
[@MAXMIND/GitHub::Update] Using two-factor authentication
Use of uninitialized value $_ in substitution (s///) at /usr/share/perl/5.26/HTTP/Tiny.pm line 1338.
Use of uninitialized value $_ in string eq at /usr/share/perl/5.26/HTTP/Tiny.pm line 1339.
[@MAXMIND/GitHub::Update] Retrying with two-factor authentication
[@MAXMIND/GitHub::Update] Updating GitHub repository info
[@MAXMIND/GitHub::Update] Using MetaCPAN URL
^C
e.g. when building the 'thaljef/Pinto' dist:
[DZ] building test distribution under .build/tz_EGx9JYa
[DZ] beginning to build Pinto
[DZ] dist's main_module is lib/Pinto.pm
[DZ] extracting distribution abstract from lib/Pinto.pm
[GitHub::Meta] Err: Provide valid GitHub login values
[GitHub::Meta] Getting GitHub repository info
Use of uninitialized value $login in concatenation (.) or string at /home/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/Dist/Zilla/Plugin/GitHub/Meta.pm line 127.
[GitHub::Meta] Err: Can't connect to GitHub.com
[GitHub::Meta] Using offline repository information
Use of uninitialized value $login in concatenation (.) or string at /home/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/Dist/Zilla/Plugin/GitHub/Meta.pm line 147.
-StopWords (for plugin Pod::Weaver::Plugin::StopWords) does not appear to be installed
Trace begun at /home/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/Config/MVP/Section.pm line 161
... huge stack trace omitted...
This would be much nicer, and easier to diagnose, with an error message like "missing git config 'github.user'".
A version number for IO::Socket::SSL is required in Makefile prereqs.
Using an earlier version just gives the dzil error:
[GitHub::Meta] Err: Can't connect to GitHub
Only when dumping the response did I see this:
$VAR1 = {
'success' => '',
'headers' => {
'content-type' => 'text/plain',
'content-length' => 57
},
'status' => 599,
'content' => 'IO::Socket::SSL 1.56 must be installed for https support',
'reason' => 'Internal Exception',
'url' => 'https://api.github.com/repos/<user>/<repo>'
};
thanks,
Michael
Now that logging in with a token is deprecated, you should use OAuth instead of requiring a password be stored in git's configuration.
There are options in the repository settings to enable/disable a project wiki for the repository, allow issue tracking, etc. it would be handy for ::Create and/or ::Update to support changing these settings -- for example when I create a project repo on github, I might want to disable issue tracking, so as to force issues to go to RT instead.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.