{"action":"opened","issue":{"url":"https://api.github.com/repos/solbu/hldig/issues/110","repository_url":"https://api.github.com/repos/solbu/hldig","labels_url":"https://api.github.com/repos/solbu/hldig/issues/110/labels{/name}","comments_url":"https://api.github.com/repos/solbu/hldig/issues/110/comments","events_url":"https://api.github.com/repos/solbu/hldig/issues/110/events","html_url":"https://github.com/solbu/hldig/issues/110","id":354476320,"node_id":"MDU6SXNzdWUzNTQ0NzYzMjA=","number":110,"title":"[discussion] moving libhtdigphp to a separate repo","user":{"login":"andy5995","id":16764864,"node_id":"MDQ6VXNlcjE2NzY0ODY0","avatar_url":"https://avatars3.githubusercontent.com/u/16764864?v=4","gravatar_id":"","url":"https://api.github.com/users/andy5995","html_url":"https://github.com/andy5995","followers_url":"https://api.github.com/users/andy5995/followers","following_url":"https://api.github.com/users/andy5995/following{/other_user}","gists_url":"https://api.github.com/users/andy5995/gists{/gist_id}","starred_url":"https://api.github.com/users/andy5995/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andy5995/subscriptions","organizations_url":"https://api.github.com/users/andy5995/orgs","repos_url":"https://api.github.com/users/andy5995/repos","events_url":"https://api.github.com/users/andy5995/events{/privacy}","received_events_url":"https://api.github.com/users/andy5995/received_events","type":"User","site_admin":false},"labels":[{"id":773644283,"node_id":"MDU6TGFiZWw3NzM2NDQyODM=","url":"https://api.github.com/repos/solbu/hldig/labels/discussion","name":"discussion","color":"8db0d6","default":false},{"id":743912365,"node_id":"MDU6TGFiZWw3NDM5MTIzNjU=","url":"https://api.github.com/repos/solbu/hldig/labels/pri:%205%20(low)","name":"pri: 5 (low)","color":"d93f0b","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-27T20:59:42Z","updated_at":"2018-08-27T20:59:42Z","closed_at":null,"author_association":"COLLABORATOR","body":"I'm thinking it may be worth it to move [libhtdigphp](https://github.com/solbu/hldig/tree/master/libhtdigphp) to a separate repo.\r\n\r\nI was taking a look at it and one problem is that it's looking for hldig in the wrong directories, since we moved many of the files to /opt/www.\r\n\r\nAnother problem is looking at the Makefile\r\n\r\nhttps://github.com/solbu/hldig/blob/3d3f7eb9fc805b59ce14142e6471bcb5c1b48466/libhtdigphp/Makefile#L1-L15\r\n\r\nI don't know what was stored on the nfs servers! I just downloaded the cvs code\r\n`cvs -z3 -d:pserver:anonymous@a.cvs.sourceforge.net:/cvsroot/htdig co -P htdig` from sourceforge and no big differences really stuck out to me.\r\n\r\nWhen I ran make on htdig-3.2.0b6:\r\n\r\n```\r\nandy@oceanus:~/temp/htdig-3.2.0b6/libhtdigphp$ make\r\nMakefile:13: /nfs/users/rnw/nealr/code/htdig/htdig-CVS-linux/libhtdigphp/build/dynlib.mk: No such file or directory\r\nmake: *** No rule to make target '/nfs/users/rnw/nealr/code/htdig/htdig-CVS-linux/libhtdigphp/build/dynlib.mk'.  Stop.\r\n```\r\n\r\nFrom https://github.com/solbu/hldig/blob/master/archived_docs/htdig40_refactor.pdf\r\nthis tells a bit about what it's supposed to do:\r\n\r\n```\r\n4.3\r\n Removed Features\r\nOriginally, several different auxiliary databases were avail-\r\nable for ”fuzzy” searching though the htfuzzy tool. Algo-\r\nrithms like synonyms, metaphone and soundex have been re-\r\nmoved completely, the endings database has been subsumed\r\ninto the main CLucene index as a searchable stemmed field,\r\nand the accents database is no longer necessary, being re-\r\nquired only in the context of an ASCII-only index. Also\r\nremoved are some of the database management tools like\r\nhtmerge, htdump, and htload. The htmerge tool was used\r\nto merge BDB indexes created during different runs of htdig\r\ninto one.\r\nGone also is the CGI based searching executable that was\r\npart of ht://Dig. This has been replaced with a simple PHP\r\nAPI that provides the same functionality. This conforms\r\nbetter to the idea of using HtDig as a utility library.\r\n```\r\n\r\nWell, our distribution still has htfuzzy. That doc is apparently referring to the 4.0 version, code from which has been lost, according to @roklein in https://github.com/roklein/htdig/issues/1#issuecomment-342462767\r\n\r\n```\r\nThank you for your interest in this project. I think it's better you fork and continue there. My repository is basically up to version 3.2b6 and some patches from further down the tree and those used by some major distributions (suse, fedora,...). So in a way, this is probably the most stable version of htdig, currently. Unfortunately it seems, I only put the one tree into the repository (I converted it from CVS), so the older 3.1.6 stuff isn't here. Also the early 4.0 code is missing, but I think you are way better off, not using it. Plese note, there is a fork from jrsupplee which has three additional patches. I didn't review those, however, and never got a pull request.\r\n\r\nBest regards,\r\nRobert\r\n```\r\n\r\nThe only code I know of from 4.x is on our [4_1_0 branch](https://github.com/solbu/hldig/tree/4_1_0). I tried building it a few times but could only build part of it. Based on what Robert said, I assumed parts of the code were missing.\r\n\r\nI suggest that the whole libhtdigphp directory could be moved into a separate repo. We'd link to the repo, and perhaps add it as a [submodule](https://git-scm.com/book/en/v2/Git-Tools-Submodules)."}}
{"actor":{"display_login":"andy5995"}}