I’m seeing the same problem at
The post was edited multiple times in the first 5 minutes.
I’m seeing the same problem at
Will it work with Private GitHub repos?
Q: is there a possibility to have just the username instead of [username/repository]?
I want this so that i can just link to any of my repositories w/o any more headache.
Plus: the plugins “box” where i have to enter all my “projects” (in the format above) is difficult to use if i have 60 repos.
And one more question: how can i link to other repositories? for example a repo of my friend when we’re working together on his project?
You could add your friend’s project to the site setting if you want and it should work.
In terms of having it match just on username, that is not a bad idea and I would accept a PR that handles that case.
I don’t exactly understand how github permissions work, but i expect that since i created a token for public repo, that only works on my repositories, not others. Or could i just “link” to any repo of anyone?
I have no knowledge of discourse or its inner workings so there’s no chance i’m able to submit it .
I could be mistaken, but you don’t give it access to a particular repo, just “public repos.” I believe any repo that it can post in should work, but admittedly I have not confirmed this.
Yaaaa, well i got bored today after 2 beers and got this working: Allow all user repositories wildcard by TheBestPessimist · Pull Request #3 · discourse/discourse-github-linkback · GitHub.
Warning: no prior discourse/ruby knowledge here.
I gotta say tho:
Ruby feels a lot like Perl:
it uses both
do end and
you can do
s = "a" + "b"
s = "a" "b"
or in a few other ways…
Ruby feels like it has waaay to many redundant features. (hence comparison to Perl).
I’m not sure exactly what else should be updated (the modifications work on my self hosted discourse), so could you please guide me a little bit?
@zogstrip i have no idea how to do the tests. all my changes were done “by hand” and i just pulled from my branch whilst doing
launcher rebuild app .
i see that there are tests in
spec/lib/github_linkback_spec.rb, but i don’t have any clue how to extend that and/or how to run them afterwards.
A good starting place is to setup a dev environment locally.
somehow (3 ) i missed that
Can it be made possible that this step is optional:
Finally, add the projects you wish to post to in the
github linkback projectssite setting in the formats:
username/repositoryfor specific repositories
username/*for all repositories of a certain user
I think if nothing is specified, it should use all organisations and all projects linked to that user account.
Might i just say “Pull requests are welcome” ?
(in all fairness though,
username/* is really not that difficult to do since it’s done only once)
Is possible to link Issues too?
As it’s been a few months, just following up on if there a way for this to work with Organizations, or do we have to add each repo manually?
For now you still have to add each repo manually.
Got it. Appreciate the work that has gone into this!
This plugin is no longer supported, please migrate to GitHub - discourse/discourse-github