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

github.tcl #3

Open
ZioNeL opened this issue Apr 5, 2020 · 2 comments
Open

github.tcl #3

ZioNeL opened this issue Apr 5, 2020 · 2 comments

Comments

@ZioNeL
Copy link

ZioNeL commented Apr 5, 2020

linker cannot be set via dcc:

[01:20:35] Usage: .github linker set
[01:20:52] .github linker set #ZNC /ZioNeL/znc.tcl
[01:20:52] Error: repository has to be a valid GitHub repository in the form of "/username/repository"

In order to fix this the following change must be made:
From:
} elseif {![regexp -- {^/[a-zA-Z0-9]+/[a-zA-Z0-9]+$} $repo]} { ;# FixMe: make sure this is correct
putdcc $idx "Error: repository has to be a valid GitHub repository in the form of "/username/repository""

To:

} elseif {![regexp -- {^/[a-zA-Z0-9]+/[a-zA-Z0-9]-.+$} $repo]} { ;# FixMe: make sure this is correct
putdcc $idx "Error: repository has to be a valid GitHub repository in the form of "/username/repository""

@Pixelz
Copy link
Owner

Pixelz commented Apr 11, 2020

Does it work if you set it to "/ZioNeL/znc-tcl" ?

I'm not sure where you get "/ZioNeL/znc.tcl" from but it doesn't strike me as valid.

@ZioNeL
Copy link
Author

ZioNeL commented Apr 11, 2020

/ZioNeL/znc.tcl - was my first repo. then i renamed it to /ZioNeL/znc-tcl . But even so didn`t worked.
After modifing in tcl the line it allowed me to add repos containing chars like ". or - "

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