Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request: support enabling/disabling wiki, issues etc #29

Closed
karenetheridge opened this issue Jun 20, 2013 · 5 comments
Closed

Comments

@karenetheridge
Copy link
Collaborator

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.

@ghedo ghedo closed this as completed in 0f3d369 Jun 20, 2013
@ghedo
Copy link
Owner

ghedo commented Jun 20, 2013

Great idea! I implemented this in 0f3d369 and it seems to work, but additional testing would be appreciated.

@karenetheridge
Copy link
Collaborator Author

cool! it doesn't work for me though :(

I added has_issues = 0 to my profile.ini for [GitHub::Create], did a dzil run (and confirmed that this is the profile.ini that is being used), and created a new repo, but it still has issues enabled. :(

It might help to add a log_debug directive line which lists what is being sent to github, so we can be 100% sure that the right data is being sent?

ghedo added a commit that referenced this issue Jun 22, 2013
@ghedo
Copy link
Owner

ghedo commented Jun 22, 2013

Hmm, if anything, I can confirm that it works here. Anyway I just added some log_debug()s as you suggested, can you please try again?

@karenetheridge
Copy link
Collaborator Author

sorry for the delay!

I tried again, and it must have been PEBKAC before, because it works now -- I am able to mint a dist with issues turned off. My config in profile.ini is (after templating lots of files):

[Git::Init]
commit_message = initial commit, via [Git::Init] in {{ $dist->name }}-{{ $dist->version }}, github profile.
config = user.email ether@cpan.org
; we don't configure a repository here because [GitHub::Create] won't do its
; thing if there is already a remote spec added.

[GitHub::Create]
:version = 0.34
prompt = 1
has_issues = 0

; this will fail if we said no to creating the github repository
[Git::PushInitial]

also, this PR fixes the log calls (it looks like an arrayref is needed to contain the message string) - #30

thanks again!!!

@ghedo
Copy link
Owner

ghedo commented Jul 3, 2013

Good, I'll close this then.

@ghedo ghedo closed this as completed Jul 3, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants