Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upMergerSite - Zite retains old merger_type permission after modifying wrapperPermissionAdd. #2637
Comments
|
Download GitCenter https://github.com/imachug/gitcenter and rewrite it how you like. You should not clone it in my opinion. You can start your own GitCenter in less than 1 hour... |
|
@Folaht You get this error because the repository
FWIW, I'd follow the first way. |
|
Okay, perhaps I have not clarified this correctly. I cloned GitCenter, because I want to build a seperate GitCenter for Safe Network projects. Thus the projects I plan to host there will be exclusively Safe Network (non-Zeronet) projects I do not want to merge with Gitcenter and do not want to see Gitcenter's projects on my site in the index search.
When I log what the MergerSitePlugin is doing,
Nowhere do I define that my main site This is stored at |
|
What exact revision/commit of ZeroNet are you running? I'm not sure what |
|
The latest, but I edited it to put a logger in. |
|
Alright. I believe there's at least a hacky solution to this without altering zeronet's source code. |
|
Okay, so the problem is apparently that removing |
|
@Folaht you could just copy the sites content to a new site you create with siteCreate, delete the old site and problem solved. This stupid merger thing is irritating me for a while already. |
Thanks, but that is not necessary. |
Step 1: Please describe your environment
Step 2: Describe the problem:
I cloned GitCenter.
I downloaded GitCenter and then rewrote it to my liking in order to start my own GitCenter, called ZeroSafe.
My site however is still looking for GitCenter sites.
I've noticed that this is due to this function:
This adds a permission, but does not set it.
So whenever I change it, it adds another permission
and when I went a little digging I could not find any command that removes or empties the permissions.
I can't manually remove the in sites.json either and I have no idea where these permissions are stored.
Steps to reproduce:
Observed Results:
error
sites.json
Expected Results:
Absention of GitCenter permissions.