opencv4nodejs icon indicating copy to clipboard operation
opencv4nodejs copied to clipboard

Repo searchability

Open btsimonh opened this issue 2 years ago • 7 comments
trafficstars

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?

btsimonh avatar Jan 15 '23 08:01 btsimonh

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

Any hints would be welcomed.

UrielCh avatar Jan 16 '23 23:01 UrielCh

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?

btsimonh avatar Jan 17 '23 09:01 btsimonh

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

UrielCh avatar Jan 24 '23 05:01 UrielCh

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 #849 after asking multiple times, so I decided to merge anyway.

I did not get any answer neither on #860.

I only have limited rights here.

  • I can push commit in the master branch of @justadudewhohacks
  • I cannot do anything related to admin on @justadudewhohacks repo

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 ...

piercus avatar Jan 24 '23 06:01 piercus

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?

btsimonh avatar Jan 24 '23 08:01 btsimonh

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

wenq1 avatar Jan 31 '23 17:01 wenq1

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 !

piercus avatar Jan 31 '23 19:01 piercus