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

Repo searchability #68

Open
btsimonh opened this issue Jan 15, 2023 · 7 comments
Open

Repo searchability #68

btsimonh opened this issue Jan 15, 2023 · 7 comments

Comments

@btsimonh
Copy link

I find that searching this repo only searches Issues, and not the code.
Searching, e.g. https://github.com/justadudewhohacks/opencv4nodejs/search?q=puttext
gives many more results, and hence it my go-to place when I'm looking for examples of how to do something, or for details of the API for specific functions.

Is there some way we can enable searching on this repo, considering that it's more up to date, and the one most are using?

@UrielCh
Copy link
Owner

UrielCh commented Jan 16, 2023

I do not know how to fix that; that may occur because UrielCh/opencv4nodejs is a fork.

Any hints would be welcomed.

@btsimonh
Copy link
Author

btsimonh commented Jan 17, 2023

from here:
https://stackoverflow.com/questions/33626326/how-to-search-a-github-fork-for-code-using-the-github-search-api

When a fork has less stars than its parent, it is not indexed at all for code search. So it won't show up even when you use fork:true. The fork:true search filter is used to show results for forks that have been indexed for search.

In the example of the TeamTwisted/external_chromium_org fork, that code is searchable because it has more stars than its parent repo. However the PEZ/Sketch-Plugin-Testing-Repo fork does not, so it won't be searchable at all with any filter.

seems options could be:
We could ask justadudewhohacks to transfer the repo to you, and bring it up to date; rename this one then rename that one. - this is probably the best solution in the long term, and since he recommends yours, he may do it.
He could always fork it back after transfer so it's still available where it always was, but as a fork of itself. (I wonder what will happen to the stars?)

Put a big note on his to ask people to unstar it, and a big note on yours to ask people to star it. (difference of ~4700 stars!!! - so may not happen)

You could delete the repo, and then push it fresh, so it's not a fork any more... seems a little drastic, especially for those who have forked it/his.

Or... you could ask him for admin/push access on the original, and we go back to that as the main fork?

@justadudewhohacks - any thoughts?

@UrielCh
Copy link
Owner

UrielCh commented Jan 24, 2023

I never get any contact with @justadudewhohacks So...
Let me ask my special Middle_Man @piercus :)

@piercus
Copy link
Collaborator

piercus commented Jan 24, 2023

Quick explanation here

he recommends yours

@justadudewhohacks did not recommend @UrielCh repo.

I've done it by committing on the README.

Last time I got answers was in May 2019, so I feel my communication channel is broken.

I haven't been able to get a review from @justadudewhohacks on justadudewhohacks#849 after asking multiple times, so I decided to merge anyway.

I did not get any answer neither on justadudewhohacks#860.

I only have limited rights here.

I feel we have 2 options :

  • We consider @justadudewhohacks is not reachable and move forward.
  • Someone else want to investigate to find him, DM me - I will tell you what I know ... not that much

I know it creates ton of problems ...

@btsimonh
Copy link
Author

I did some stalking, and there is nothing from Vincent since 2019 - anywhere.
His facebook is dead, no linkedin profile, medium is dead, twitter is dead.
The only commits on repos are dependabot.
A shame after he created such inspirational projects....

If we feel we have the time to spend, we could create an organisation, and a fresh NEW repo there, which would then be indexed.
Then pick the top 10 contributors and ask who would like admin rights to help maintain.
We could also re-create the build repo there.

An organisation may help us center the focus of existing forkers and users.

but... I'm not that worried, it's just a pain when it comes to searching.

hmm.. this is worth a look:
https://support.github.com/request/fork
Seems you can 'detach' a fork - this may do what we want, but would then this fork would no longer show in the original fork network. But at least it would retain all commits, issues, PR records, etc.
I could test this by forking yours and then detaching, and we could see how it feels, and see if it restores searchability?

thoughts?

@wenq1
Copy link

wenq1 commented Jan 31, 2023

It's a good idea to find motivation and define incentives for those 10 contributors you pick.

@piercus
Copy link
Collaborator

piercus commented Jan 31, 2023

An organisation may help us center the focus of existing forkers and users.

I feel we should try to make opencv4nodejs closer to OpenCV.org,

I have already discussed about this with @philnelson from opencv, if we are motivated it's win-win to try to push opencv4nodejs to the opencv.org level of requirement.

I have created a channel #opencv4nodejs in the opencv slack, please join, i think this is a first step, and the right place to discuss !

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

4 participants