hubotio / generator-hubot

Hubot generator for Yeoman
MIT License
156 stars 83 forks source link

Generating a custom repository url instead of the default one which has `hubot-scripts` organization name #58

Closed sriharshakappala closed 10 months ago

sriharshakappala commented 9 years ago

generator-hubot by default is generating the repository url as github.com/hubot-scripts/<my-hubot-script>

Now that the hubot-scripts organization is deprecated and no longer accepting any packages, will it be a good idea to ask for username too and add it as a custom value in _package.json file?

technicalpickles commented 8 years ago

That is a great point. At the least, we can stop making remote urls point at hubot-scripts, but I'm not sure the best way to handle the default remote url. Maybe leave it blank and let the user decide during the prompt?

technicalpickles commented 8 years ago

I started adding this, borrowing from generator-node. However, I'm running into some (unrelated) changes that are making it tough to test.

stephenyeargin commented 7 years ago

I think a sane default would be to use the git.userName variable. That's not going to be correct in the event they are planning to push to an organization, but it has a higher chance of being right than hubot-scripts.

stale[bot] commented 7 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stephenyeargin commented 7 years ago

Yeah, still should be addressed.

stale[bot] commented 7 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

joeyguerra commented 10 months ago

the repository url is not in the package.json file.