{"id":20622326,"url":"https://github.com/smoeding/puppet-global-plugin","last_synced_at":"2026-05-17T15:36:47.485Z","repository":{"id":151615574,"uuid":"141786128","full_name":"smoeding/puppet-global-plugin","owner":"smoeding","description":"A GNU global plugin to parse Puppet manifests","archived":false,"fork":false,"pushed_at":"2018-09-20T17:16:12.000Z","size":37,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-17T05:29:22.691Z","etag":null,"topics":["gnu-global","puppet","source-code","tagging"],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/smoeding.png","metadata":{"files":{"readme":"README.md","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-21T06:09:43.000Z","updated_at":"2018-09-20T17:16:13.000Z","dependencies_parsed_at":"2023-05-25T00:00:47.464Z","dependency_job_id":null,"html_url":"https://github.com/smoeding/puppet-global-plugin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smoeding%2Fpuppet-global-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smoeding%2Fpuppet-global-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smoeding%2Fpuppet-global-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smoeding%2Fpuppet-global-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smoeding","download_url":"https://codeload.github.com/smoeding/puppet-global-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242300298,"owners_count":20105185,"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":["gnu-global","puppet","source-code","tagging"],"created_at":"2024-11-16T12:22:14.985Z","updated_at":"2025-10-09T23:35:42.788Z","avatar_url":"https://github.com/smoeding.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# puppet-global-plugin\n\nA GNU global plugin to parse Puppet manifests\n\n## Building\n\nNote: This has only be tested on Debian 9 (Stretch)!\n\nYou will need autoconf/automake/libtool to build the plugin. Run the following comands in the top level directory:\n\n``` shellsession\nautoreconf -i -f -I m4\n./configure --prefix=/usr\nmake\n```\n\nThis will build the plugin. You can ignore the message about `aclocal` not being able to find the `m4` directory.\n\nOptionally you can now also run the tests:\n\n``` shellsession\nmake check\n```\n\nThen run `make install` as `root` to install the plugin:\n\n``` shellsession\nmake install\n```\n\nThe `configure` script used `--prefix=/usr` and therefore the plugin will be installed in `/usr/lib/gtags` where GNU global expects the files on Debian.\n\nThe installation also creates `/usr/lib/gtags/puppet.la`. This file is not used on Debian and can be deleted if you care.\n\n## Setup\n\nCreate the file `~/.globalrc` with the following content:\n\n``` text\n# Configuration file for GNU GLOBAL source code tag system.\n#\n# Please refer to gtags.conf(5) for details.\n#\ndefault:\\\n    :tc=native:tc=puppet:\nnative:\\\n    :tc=gtags:tc=htags:\nctags:\\\n    :tc=htags:\n#---------------------------------------------------------------------\n# Configuration for gtags(1)\n# See gtags(1).\n#---------------------------------------------------------------------\ncommon:\\\n    :skip=tags,TAGS,gtags.files,*.orig,*.rej,*.bak,*~,#*#,*.swp,*.tmp,*.zip,*.gz,*.bz2,*.xz,*.lzh,*.Z,*.tgz:\n#\n# Built-in parsers.\n#\ngtags:\\\n    :tc=common:\\\n    :tc=builtin-parser:\n#\nbuiltin-parser:\\\n    :langmap=c\\:.c.h,yacc\\:.y,asm\\:.s.S,java\\:.java,cpp\\:.c++.cc.hh.cpp.cxx.hxx.hpp.C.H,php\\:.php.php3.phtml:\n#\n# Puppet\n#\npuppet|Puppet plugin parser:\\\n    :tc=common:\\\n    :langmap=puppet\\:.pp:\\\n    :gtags_parser=puppet\\:$libdir/gtags/puppet.so:\n#---------------------------------------------------------------------\n# Configuration for htags(1)\n#---------------------------------------------------------------------\nhtags:\\\n    ::\n```\n\nThis instructs GNU global to use the plugin for Puppet manifests.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmoeding%2Fpuppet-global-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmoeding%2Fpuppet-global-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmoeding%2Fpuppet-global-plugin/lists"}