PkgTemplates.jl icon indicating copy to clipboard operation
PkgTemplates.jl copied to clipboard

Automatic creation of Github repo + other online features

Open Arkoniak opened this issue 4 years ago • 2 comments

This is inspired by https://discourse.julialang.org/t/using-pkgtemplates-jl-to-create-new-github-repository/56651, and I haven't found previous discussions.

The question is, how appropriate it would be to have a functionality to make a github repo and automatically push newly created repository? It's not a big deal to do manually, but it would be convenient to have it packed together with everything else.

Of course, it would require some sort of token and preliminary setup, but this could be easily solved with something like DotEnv.jl and some explanation how to set it up properly. Also, github communications would require GitHub.jl or something like that. All of this generates additional dependencies and I am not sure whether it worth it to add them to PkgTemplates.jl.

I can give it a try and make a PR if there is a green light for this idea.

Arkoniak avatar Mar 07 '21 09:03 Arkoniak

This has been thought about quite a bit e.g. #113 #79, mostly blocked by my overprotectiveness of the code at the time tbh. I'm not doing much maintenance on this anymore, so I'll defer to @nickrobinson251 and company :slightly_smiling_face:

christopher-dG avatar Mar 08 '21 16:03 christopher-dG

Ah, probably it deserves its own package then, something like PkgTemplatesExtra.jl It looks like in #79 there were some other nice ideas like automatically add DOCUMENTER_KEY.

Let's wait with closing this issue though, and hear other opinions.

Arkoniak avatar Mar 08 '21 19:03 Arkoniak