generator-hubot icon indicating copy to clipboard operation
generator-hubot copied to clipboard

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

Open sriharshakappala opened this issue 9 years ago • 6 comments

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?

sriharshakappala avatar Oct 31 '15 08:10 sriharshakappala

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 avatar May 19 '16 22:05 technicalpickles

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

technicalpickles avatar May 19 '16 23:05 technicalpickles

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.

stephenyeargin avatar Mar 17 '17 17:03 stephenyeargin

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.

stale[bot] avatar Jun 16 '17 02:06 stale[bot]

Yeah, still should be addressed.

stephenyeargin avatar Jun 16 '17 05:06 stephenyeargin

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.

stale[bot] avatar Sep 14 '17 05:09 stale[bot]

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

joeyguerra avatar Jan 05 '24 03:01 joeyguerra