{"id":25473419,"url":"https://github.com/susu9/cscope-manager","last_synced_at":"2025-08-11T20:14:32.703Z","repository":{"id":62565617,"uuid":"95361009","full_name":"susu9/cscope-manager","owner":"susu9","description":"A tool helps you manage cscope/ctags tags","archived":false,"fork":false,"pushed_at":"2021-02-21T20:21:54.000Z","size":258,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-26T00:47:56.549Z","etag":null,"topics":["cscope","ctags","vim"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/susu9.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-06-25T13:21:14.000Z","updated_at":"2024-01-02T10:30:37.000Z","dependencies_parsed_at":"2022-11-03T17:46:51.943Z","dependency_job_id":null,"html_url":"https://github.com/susu9/cscope-manager","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/susu9/cscope-manager","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/susu9%2Fcscope-manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/susu9%2Fcscope-manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/susu9%2Fcscope-manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/susu9%2Fcscope-manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/susu9","download_url":"https://codeload.github.com/susu9/cscope-manager/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/susu9%2Fcscope-manager/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269948886,"owners_count":24501830,"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","status":"online","status_checked_at":"2025-08-11T02:00:10.019Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","ctags","vim"],"created_at":"2025-02-18T10:21:09.630Z","updated_at":"2025-08-11T20:14:32.664Z","avatar_url":"https://github.com/susu9.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Pypi version](https://img.shields.io/pypi/v/cscope-manager)](https://pypi.org/project/cscope-manager/)\n[![Build Status](https://travis-ci.com/susu9/cscope-manager.svg?branch=master)](https://travis-ci.com/susu9/cscope-manager)\n[![Python Compatibility](https://img.shields.io/pypi/pyversions/cscope-manager)](https://travis-ci.com/susu9/cscope-manager)\n![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/susu9/cscope-manager.svg)\n![GitHub](https://img.shields.io/github/license/susu9/cscope-manager.svg)\n# cscope-manager\nA tool helps you manage cscope/ctags tags\n\n![cscope-manager-demo-small](https://user-images.githubusercontent.com/6793352/90326615-40b8ad80-df3f-11ea-959d-2012d688e22a.gif)\n\n## Installation\n```shell\npip install cscope-manager\n```\n\n## Custimization\nYou can create a config file in ~/.csmgr.config to customize your preference\n```\n# Supported configurations and format\nproject_list = .csmgr.project\nsuffixes = .cpp\nout_list = map.files\nmeta_files = cscope.in.out cscope.out cscope.po.out tags\nexclude_dirs = dir\n# Note: Only supprot $out_list. Not support other variables interpolation\nexec_cmds = cscope -bqk -i $out_list \u0026\u0026 ctags -L $out_list\ndisplay_max = 20\ndelim     = ........................................\ndelim_end = ****************************************\n```\n\n## Features\n1. Generate file list (cscope.files) for cscope/ctags through a customize project list (.csmgr.project)\n2. Remove duplicate file pathes in cscope.files\n3. Remove symbolic link in cscope.files\n4. Remove not existed files in cscope.files\n5. Check redudant path in project list\n\n## Usage\n```\nusage: csmgr [-h] [-u] [-f] [-p PROJECT_LIST] [-s SUFFIXES] [-i INCLUDE_FILES]\n             [-c CONFIG_FILE] [-o OUT_LIST] [-m META_FILES] [-e EXCLUDE_DIRS]\n             [-d] [--dry-run] [--max-display MAX_DISPLAY] [-x EXEC_CMDS]\n             [--verbose] [-v]\n             [path [path ...]]\n\npositional arguments:\n  path                  add path to project list (.csmgr.project) and run\n                        commands for tag generation if cscope.files is changed\n                        ex. dir/, file.c\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -u, --update          Update cscope.files if necessary and run commands for\n                        tag generation\n  -f, --force           delete meta data and run commands for tag generation\n  -p PROJECT_LIST, --project-list PROJECT_LIST\n                        assign project list (default: .csmgr.project)\n  -s SUFFIXES, --suffixes SUFFIXES\n                        assign suffixes filter (default: .cc .c .h .js .cpp\n                        .py .scss .css .java)\n  -i INCLUDE_FILES, --include-files INCLUDE_FILES\n                        assign include files (default: )\n  -c CONFIG_FILE, --config-file CONFIG_FILE\n                        assign config file (default: ~/.csmgr.config,\n                        .csmgr.config)\n  -o OUT_LIST, --out-list OUT_LIST\n                        assign the name of output list file (default:\n                        cscope.files)\n  -m META_FILES, --meta-files META_FILES\n                        assign meta data files (default: cscope.in.out\n                        cscope.out cscope.po.out tags)\n  -e EXCLUDE_DIRS, --exclude-dirs EXCLUDE_DIRS\n                        assign exclude dirs (default: .git node_modules)\n  -d, --delete-meta     delete all meta data\n  --dry-run             show what would be done\n  --max-display MAX_DISPLAY\n                        assign how many paths will be shown in the log\n  -x EXEC_CMDS, --exec-cmds EXEC_CMDS\n                        assign commands for tag generation. $out_list will be\n                        replaced by list file name (check -o for details). Use\n                        \u0026\u0026 concat multiple commands (default: cscope -bqk -i\n                        $out_list \u0026\u0026 ctags -L $out_list)\n  --verbose             show more logs\n  -v, --version         show program's version number and exit\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsusu9%2Fcscope-manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsusu9%2Fcscope-manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsusu9%2Fcscope-manager/lists"}