{"id":24344486,"url":"https://github.com/vitkyrka/opengrokfs","last_synced_at":"2025-10-09T20:37:08.788Z","repository":{"id":57449108,"uuid":"90910581","full_name":"vitkyrka/opengrokfs","owner":"vitkyrka","description":"OpenGrok FUSE filesystem and cscope backend","archived":false,"fork":false,"pushed_at":"2018-03-03T11:36:42.000Z","size":10,"stargazers_count":0,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-08T02:47:36.662Z","etag":null,"topics":["cscope","opengrok"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vitkyrka.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-05-10T21:38:07.000Z","updated_at":"2018-02-16T20:56:03.000Z","dependencies_parsed_at":"2022-09-16T13:53:02.701Z","dependency_job_id":null,"html_url":"https://github.com/vitkyrka/opengrokfs","commit_stats":null,"previous_names":["rabinv/opengrokfs"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitkyrka%2Fopengrokfs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitkyrka%2Fopengrokfs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitkyrka%2Fopengrokfs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitkyrka%2Fopengrokfs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vitkyrka","download_url":"https://codeload.github.com/vitkyrka/opengrokfs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243131023,"owners_count":20241176,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cscope","opengrok"],"created_at":"2025-01-18T09:55:02.588Z","updated_at":"2025-10-09T20:37:03.770Z","avatar_url":"https://github.com/vitkyrka.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":".. -*- rst -*-\n\nopengrokfs\n==========\n\nopengrokfs implements a FUSE filesystem backed by the OpenGrok web interface.\nA cscope clone which uses the OpenGrok web interface as the backend is also\nincluded.\n\nInstall with pip::\n\n    pip3 install opengrokfs\n\nRun ``opengrokfs`` with the URL of the OpenGrok start page and the local\ndirectory where the filesystem should be mounted::\n\n    mkdir -p mnt\n    opengrokfs http://androidxref.com/7.1.1_r6/ mnt\n\nNow you can access the files::\n\n    $ ls mnt/\n    Android.bp  bootable        bionic  development  external\n    art         bootstrap.bash  dalvik  device       frameworks\n    ...\n\nUse ``oggrep`` to search using OpenGrok's \"Full Search\"::\n\n    $ cd mnt/bionic/\n    mnt/bionic$ oggrep O_LARGEFILE\n    libc/kernel/uapi/asm-arm/asm/fcntl.h:#define O_LARGEFILE 0400000\n    libc/kernel/uapi/asm-arm64/asm/fcntl.h:#define O_LARGEFILE 0400000\n    libc/bionic/lfs64_support.cpp:// are already 64-bit ready. In particular, we don't have non-O_LARGEFILE\n    libc/bionic/open.cpp:  return flags | O_LARGEFILE;\n    libc/kernel/uapi/asm-mips/asm/fcntl.h:#define O_LARGEFILE 0x2000\n    libc/kernel/uapi/asm-generic/fcntl.h:#ifndef O_LARGEFILE\n    libc/kernel/uapi/asm-generic/fcntl.h:#define O_LARGEFILE 00100000\n    tests/stdlib_test.cpp:  ASSERT_EQ(O_LARGEFILE, fcntl(tf.fd, F_GETFL) \u0026 O_LARGEFILE);\n\n``ogcscope`` emulates cscope's line-oriented interface but uses OpenGrok as the\nbackend::\n\n    mnt/bionic$ ogcscope -dl\n    \u003e\u003e 1CLONE_CHILD_SETTID\n    cscope: 1 lines\n    libc/kernel/uapi/linux/sched.h \u003cunknown\u003e 41 #define CLONE_CHILD_SETTID 0x01000000\n    \u003e\u003e 0CLONE_CHILD_SETTID\n    cscope: 5 lines\n    libc/bionic/clone.cpp \u003cunknown\u003e 53   if ((flags \u0026 (CLONE_PARENT_SETTID|CLONE_SETTLS|CLONE_CHILD_SETTID|CLONE_CHILD_CLEARTID)) != 0) {\n    libc/bionic/clone.cpp \u003cunknown\u003e 56   if ((flags \u0026 (CLONE_SETTLS|CLONE_CHILD_SETTID|CLONE_CHILD_CLEARTID)) != 0) {\n    libc/bionic/clone.cpp \u003cunknown\u003e 59   if ((flags \u0026 (CLONE_CHILD_SETTID|CLONE_CHILD_CLEARTID)) != 0) {\n    libc/bionic/fork.cpp \u003cunknown\u003e 34 #define FORK_FLAGS (CLONE_CHILD_SETTID | CLONE_CHILD_CLEARTID | SIGCHLD)\n    libc/kernel/uapi/linux/sched.h \u003cunknown\u003e 41 #define CLONE_CHILD_SETTID 0x01000000\n\n``ogcscope`` can be used from within any editor which supports cscope.  For\nexample, for ``vim``::\n\n    mnt/bionic$ vim -c 'set cscopeprg=ogcscope' -c 'cs add .opengrokfs'\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvitkyrka%2Fopengrokfs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvitkyrka%2Fopengrokfs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvitkyrka%2Fopengrokfs/lists"}