ctags package is retired on branch c10s for BAKERY-412

This commit is contained in:
Troy Dawson 2024-03-21 18:38:14 +00:00
parent 0963f5a674
commit 815580ab91
13 changed files with 1 additions and 1817 deletions

17
.gitignore vendored
View File

@ -1,17 +0,0 @@
ctags-5.5.4.tar.gz
ctags-5.6.tar.gz
ctags-5.7.tar.gz
ctags-5.8.tar.gz
/ctags-p5.9.20210307.0.tar.gz
/ctags-p5.9.20210509.0.tar.gz
/ctags-p5.9.20210725.0.tar.gz
/ctags-p5.9.20220206.0.tar.gz
/ctags-p5.9.20220313.0.tar.gz
/ctags-p5.9.20220424.0.tar.gz
/ctags-p5.9.20220508.0.tar.gz
/ctags-p5.9.20220619.0.tar.gz
/ctags-p5.9.20220724.0.tar.gz
/ctags-p5.9.20220911.0.tar.gz
/ctags-p5.9.20221016.0.tar.gz
/ctags-p5.9.20221120.0.tar.gz
/universal-ctags-6.0.0.tar.gz

View File

@ -1,366 +0,0 @@
Summary: A C programming language indexing and/or cross-reference tool
Name: ctags
Version: 6.0.0
Release: 5%{?dist}
License: GPL-2.0-or-later
URL: https://ctags.io/
Source0: https://github.com/universal-ctags/ctags/releases/download/v%{version}/universal-%{name}-%{version}.tar.gz
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc
BuildRequires: jansson-devel
BuildRequires: libseccomp-devel
BuildRequires: libxml2-devel
BuildRequires: libyaml-devel
BuildRequires: make
BuildRequires: pkgconfig
BuildRequires: python3-docutils
Obsoletes: %{name}-etags <= 5.8
%description
Ctags generates an index (or tag) file of C language objects found in
C source and header files. The index makes it easy for text editors or
other utilities to locate the indexed items. Ctags can also generate a
cross reference file which lists information about the various objects
found in a set of C language files in human readable form. Exuberant
Ctags improves on ctags because it can find all types of C language tags,
including macro definitions, enumerated values (values inside enum{...}),
function and method definitions, enum/struct/union tags, external
function prototypes, typedef names and variable declarations. Exuberant
Ctags is far less likely to be fooled by code containing #if preprocessor
conditional constructs than ctags. Exuberant ctags supports output of
Emacs style TAGS files and can be used to print out a list of selected
objects found in source files.
Install ctags if you are going to use your system for C programming.
%prep
%autosetup -p1 -n universal-%{name}-%{version}
%build
./autogen.sh
%configure
%make_build
%install
%make_install
%check
#make check
%files
%license COPYING
%doc README.md
%{_bindir}/%{name}
%{_bindir}/optscript
%{_bindir}/readtags
%{_mandir}/man1/*
%{_mandir}/man5/*
%{_mandir}/man7/*
%changelog
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Tue Feb 14 2023 Than Ngo <than@redhat.com> - 6.0.0-2
- migrated to SPDX license
* Wed Feb 01 2023 Than Ngo <than@redhat.com> - 6.0.0-1
- update to 6.0.0
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.9-10.20221120.0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Mon Nov 21 2022 Than Ngo <than@redhat.com> - 5.9-9.20221120.0
- update to 5.9.20221120.0
* Tue Oct 18 2022 Than Ngo <than@redhat.com> - 5.9-9.20221016.0
- update to 5.9.20221016.0
* Mon Sep 12 2022 Than Ngo <than@redhat.com> - 5.9-9.20220911.0
- update to 5.9.20220911.0
* Wed Jul 27 2022 Than Ngo <than@redhat.com> - 5.9-8.20220724.0
- update to 5.9.20220724.0
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.9-7.20220619.0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Thu Jun 23 2022 Than Ngo <than@redhat.com> - 5.9-6.20220619.0
- update to 5.9.6.20220619.0
* Thu May 12 2022 Than Ngo <than@redhat.com> - 5.9-6.20220508.0
- update to 5.9.20220508.0
* Tue Apr 26 2022 Than Ngo <than@redhat.com> - 5.9-5.20220424.0
- 20220424.0
* Mon Mar 21 2022 Than Ngo <than@redhat.com> - 5.9-4.20220313.0
- update to 5.9-4.20220313.0
* Tue Feb 08 2022 Than Ngo <than@redhat.com> - 5.9-3.20220206.0
- update to p5.9.20220206.0
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.9-2.20210725.0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Tue Jul 27 2021 Than Ngo <than@redhat.com> - 5.9-1.20210725.0
- update to p5.9-20210725
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.9-0.2.20210509.0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Mon May 10 2021 Than Ngo <than@redhat.com> - 5.9-0.1.20210509.0
- update to 5.9.20210509.0
* Thu Mar 11 2021 Than Ngo <than@redhat.com> - 5.9-0.1.20210307.0
- switch to universal ctags
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.8-31
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.8-30
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Mon Jul 13 2020 Tom Stellard <tstellar@redhat.com> - 5.8-29
- Use make macros
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.8-28
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Jan 23 2020 Than Ngo <than@redhat.com> - 5.8-27
- Added gating tests
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.8-26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.8-25
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Mon Jul 23 2018 Than Ngo <than@redhat.com> - 5.8-24
- fixed FTBFS
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.8-23
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.8-22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.8-21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.8-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Sun Feb 05 2017 Than Ngo <than@redhat.com> - - 5.8-19
- fixed bz#1418434, added missing %%license
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.8-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.8-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Tue Sep 30 2014 Than Ngo <than@redhat.com> - 5.8-16
- CVE-2014-7204, denial of service issue
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.8-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.8-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Mon Apr 14 2014 Jaromir Capik <jcapik@redhat.com> - 5.8-13
- Fixing format-security flaws (#1037028)
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.8-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Thu Jun 13 2013 John Dennis <jdennis@redhat.com> - 5.8-11
- add ctags-5.8-memmove.patch
bug #284 absoluteFilename uses strcpy on overlapping strings
http://sourceforge.net/p/ctags/bugs/284/
The bug was fixed upstream on 2012-03-26 in the following commit
http://sourceforge.net/p/ctags/code/782/
ctags-5.8-memmove.patch simply adds the same patch as the above commit.
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.8-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Mon Nov 5 2012 Marcela Mašláňová <mmaslano@redhat.com> - 5.8-9
- fix license field again
* Thu Oct 18 2012 Than Ngo <than@redhat.com> - 5.8-8
- fix the crash in cssparse
* Thu Aug 02 2012 Than Ngo <than@redhat.com> - 5.8-7
- backport from upstream to fix several crashes in ocaml
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.8-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Wed Feb 08 2012 Than Ngo <than@redhat.com> - 5.8-5
- bz#786451, add css support
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.8-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.8-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Mon Jan 4 2010 Marcela Mašláňová <mmaslano@redhat.com> - 5.8-2
- fix license tag
* Tue Sep 01 2009 Than Ngo <than@redhat.com> - 5.8-1
- 5.8
- apply patch to fix segment fault, thanks to Masatake YAMATO
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.7-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.7-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Tue Jul 29 2008 Than Ngo <than@redhat.com> 5.7-3
- add subpackage ctags-etags
* Tue Jul 15 2008 Tom "spot" Callaway <tcallawa@redhat.com> 5.7-2
- fix license tag
* Fri Feb 15 2008 Than Ngo <than@redhat.com> 5.7-1
- 5.7
- merge review: ctags
* Mon Jul 17 2006 Nalin Dahyabhai <nalin@redhat.com> 5.6-1.1
- rebuild
* Tue Jun 06 2006 Than Ngo <than@redhat.com> 5.6-1
- update to 5.6
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 5.5.4-4.2.1
- bump again for double-long bug on ppc(64)
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 5.5.4-4.2
- rebuilt for new gcc4.1 snapshot and glibc changes
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
- rebuilt
* Sun Jul 31 2005 Florian La Roche <laroche@redhat.com>
- remove etags
* Thu Mar 03 2005 Than Ngo <than@redhat.com> 5.5.4-3
- rebuilt
* Wed Feb 09 2005 Than Ngo <than@redhat.com> 5.5.4-2
- rebuilt
* Thu Jun 17 2004 Florian La Roche <Florian.LaRoche@redhat.de>
- 5.5.4
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Sat Sep 27 2003 Florian La Roche <Florian.LaRoche@redhat.de>
- 5.5.2, no patch needed anymore
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Tue May 6 2003 Than Ngo <than@redhat.com> 5.5-1
- 5.5
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
- rebuilt
* Wed Nov 13 2002 Karsten Hopp <karsten@redhat.de>
- update to 5.4
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
- automated rebuild
* Tue Jun 18 2002 Than Ngo <than@redhat.com> 5.2.3-3
- don't forcibly strip binaries
* Sun May 26 2002 Tim Powers <timp@redhat.com>
- automated rebuild
* Wed May 22 2002 Harald Hoyer <harald@redhat.de>
- 5.2.3
* Tue Feb 26 2002 Than Ngo <than@redhat.com> 5.2.2-2
- rebuild in new enviroment
* Tue Feb 19 2002 Bernhard Rosenkraenzer <bero@redhat.com> 5.2.2-1
- 5.2.2
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
- automated rebuild
* Wed Jul 11 2001 Jakub Jelinek <jakub@redhat.com>
- rebuilt against binutils-2.11.90.0.8-3 to reserve .dynamic space
* Mon Jun 11 2001 Preston Brown <pbrown@redhat.com>
- 5.0.1
* Thu Jan 04 2001 Preston Brown <pbrown@redhat.com>
- 4.0.3
- remove etags, it is not fully compatible with cmd line of GNU etags.
* Sun Jul 16 2000 Florian La Roche <Florian.LaRoche@redhat.de>
- update to 4.0.2 from sourceforge
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
- automatic rebuild
* Sat Jun 17 2000 Matt Wilson <msw@redhat.com>
- added defattr
* Mon Jun 12 2000 Preston Brown <pbrown@redhat.com>
- FHS paths
* Mon May 8 2000 Bernhard Rosenkränzer <bero@redhat.com>
- Update to 3.5.2
- minor cleanups to spec file
* Tue Feb 16 2000 Bernhard Rosenkränzer <bero@redhat.com>
- Update to 3.4 to fix bug #9446
* Thu Feb 03 2000 Preston Brown <pbrown@redhat.com>
- compress man page.
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
- auto rebuild in the new build environment (release 4)
- version 3.2
* Wed Feb 24 1999 Preston Brown <pbrown@redhat.com>
- Injected new description and group.
* Fri Apr 24 1998 Prospector System <bugs@redhat.com>
- translations modified for de, fr, tr
* Thu Apr 09 1998 Cristian Gafton <gafton@redhat.com>
- upgraded to 2.0.3
* Mon Nov 03 1997 Michael K. Johnson <johnsonm@redhat.com>
- removed etags. Emacs provides its own; and needs to support
more than just C.
* Thu Oct 23 1997 Donnie Barnes <djb@redhat.com>
- updated from 1.5 to 1.6
* Thu Jul 10 1997 Erik Troan <ewt@redhat.com>
- built against glibc

1
dead.package Normal file
View File

@ -0,0 +1 @@
ctags package is retired on branch c10s for BAKERY-412

View File

@ -1 +0,0 @@
SHA512 (universal-ctags-6.0.0.tar.gz) = c6f7eb24844778195f67a4bbeb54a61fde023a5eb0402b6986a74336fe134b7629ed3b643b4076285d660783db1a270c613244979c645ed1ae9ec40dbcb84ed8

View File

@ -1,63 +0,0 @@
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# Makefile of /CoreOS/ctags/Sanity-test-for-ctags
# Description: Sanity test
# Author: Than Ngo <than@redhat.com>
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# Copyright (c) 2019,2020 Red Hat, Inc. All rights reserved.
#
# This copyrighted material is made available to anyone wishing
# to use, modify, copy, or redistribute it subject to the terms
# and conditions of the GNU General Public License version 2.
#
# This program is distributed in the hope that it will be
# useful, but WITHOUT ANY WARRANTY; without even the implied
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
# PURPOSE. See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public
# License along with this program; if not, write to the Free
# Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
# Boston, MA 02110-1301, USA.
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
export TEST=/CoreOS/ctags/Sanity-test-for-ctags
export TESTVERSION=1.0
BUILT_FILES=
FILES=$(METADATA) runtest.sh Makefile PURPOSE ctags-kinds-list ctags-maps-list ctags-lang-list test.python test.c
.PHONY: all install download clean
run: $(FILES) build
./runtest.sh
build: $(BUILT_FILES)
chmod a+x runtest.sh
clean:
rm -f *~ $(BUILT_FILES)
include /usr/share/rhts/lib/rhts-make.include
$(METADATA): Makefile
@echo "Owner: Than Ngo <than@redhat.com>" > $(METADATA)
@echo "Name: $(TEST)" >> $(METADATA)
@echo "TestVersion: $(TESTVERSION)" >> $(METADATA)
@echo "Path: $(TEST_DIR)" >> $(METADATA)
@echo "Description: Sanity test" >> $(METADATA)
@echo "Type: Sanity" >> $(METADATA)
@echo "TestTime: 3m" >> $(METADATA)
@echo "RunFor: ctags" >> $(METADATA)
@echo "Requires: coreutils man-db" >> $(METADATA)
@echo "Priority: Normal" >> $(METADATA)
@echo "License: GPLv2+ and LGPLv2+" >> $(METADATA)
@echo "Confidential: no" >> $(METADATA)
@echo "Destructive: no" >> $(METADATA)
rhts-lint $(METADATA)

View File

@ -1,7 +0,0 @@
PURPOSE of /CoreOS/ctags/Sanity-test-for-ctags
Description: smoke test, funktion test for CI gating
Author: Than Ngo <than@redhat.com>
tests following scenarios:
* smoke test
* funktion test

File diff suppressed because it is too large Load Diff

View File

@ -1,132 +0,0 @@
Abaqus
Abc
Ada
AnsiblePlaybook
Ant
Asciidoc
Asm
Asp
Autoconf
AutoIt
Automake
Awk
Basic
BETA
BibTeX
C
C#
C++
Clojure
CMake
Cobol
CobolFree
CobolVariable
CPreProcessor
CSS
Ctags
CUDA
D
DBusIntrospect
Diff
DosBatch
DTD
DTS
Eiffel
Elixir
Elm
EmacsLisp
Erlang
Falcon
Flex
Fortran
FunctionParameters
Fypp
Gdbinit
Glade
Go
Haskell
Haxe
HTML
Iniconf
Inko
ITcl
Java
JavaProperties
JavaScript
JSON
Julia
Kconfig
Kotlin
LdScript
Lisp
LiterateHaskell
Lua
M4
Make
Man
Markdown
MatLab
Maven2
Meson
Moose
Myrddin
NSIS
ObjectiveC
OCaml
OldC [disabled]
OldC++ [disabled]
Pascal
Passwd
Perl
Perl6
PHP
PlistXML
Pod
PowerShell
Protobuf
PuppetManifest
Python
PythonLoggingConfig
QemuHX
QtMoc
R
R6Class
RelaxNG
ReStructuredText
REXX
Robot
RpmSpec
RSpec
Ruby
Rust
S4Class
Scheme
SCSS
Sh
SLang
SML
SQL
SVG
SystemdUnit
SystemTap
SystemVerilog
Tcl
TclOO
Tex
TeXBeamer
TTCN
Txt2tags
TypeScript
Unknown [disabled]
Varlink
Vera
Verilog
VHDL
Vim
WindRes
XML
XSLT
YACC
Yaml
YumRepo
Zephir

View File

@ -1,132 +0,0 @@
Unknown
Abaqus *.inp
Abc *.abc *.abc
Ada *.adb *.ads *.Ada *.ada
Ant build.xml *.build.xml *.ant *.xml
Asciidoc *.asc *.adoc *.asciidoc *.asc *.adoc *.asciidoc
Asm *.A51 *.29[kK] *.[68][68][kKsSxX] *.[xX][68][68] *.asm *.ASM *.s *.S
Asp *.asp *.asa
Autoconf configure.in *.ac
AutoIt *.au3 *.AU3 *.aU3 *.Au3
Automake Makefile.am *.am
Awk *.awk *.gawk *.mawk
Basic *.bas *.bi *.bb *.pb
BETA *.bet
BibTeX *.bib
Clojure *.clj *.cljs *.cljc
CMake CMakeLists.txt *.cmake
C *.c
C++ *.c++ *.cc *.cp *.cpp *.cxx *.h *.h++ *.hh *.hp *.hpp *.hxx *.inl *.C *.H *.CPP *.CXX
CPreProcessor
CSS *.css
C# *.cs
Ctags *.ctags
Cobol *.cbl *.cob *.CBL *.COB
CobolFree
CobolVariable
CUDA *.cu *.cuh
D *.d *.di
Diff *.diff *.patch
DTD *.dtd *.mod
DTS *.dts *.dtsi
DosBatch *.bat *.cmd
Eiffel *.e
Elixir *.ex *.exs
Elm *.elm
EmacsLisp *.el
Erlang *.erl *.ERL *.hrl *.HRL
Falcon *.fal *.ftd
Flex *.as *.mxml
Fortran *.f *.for *.ftn *.f77 *.f90 *.f95 *.f03 *.f08 *.f15 *.F *.FOR *.FTN *.F77 *.F90 *.F95 *.F03 *.F08 *.F15
FunctionParameters
Fypp *.fy
Gdbinit .gdbinit *.gdb
Go *.go
Haskell *.hs
Haxe *.hx
HTML *.htm *.html
Iniconf *.ini *.conf
Inko *.inko
ITcl *.itcl
Java *.java
JavaProperties *.properties
JavaScript *.js *.jsx *.mjs
JSON *.json
Julia *.jl
Kconfig Kconfig*
LdScript *.lds.S ld.script *.lds *.scr *.ld *.ldi
Lisp *.cl *.clisp *.l *.lisp *.lsp
LiterateHaskell *.lhs
Lua *.lua
M4 *.m4 *.spt
Man *.1 *.2 *.3 *.4 *.5 *.6 *.7 *.8 *.9 *.3pm *.3stap *.7stap
Make [Mm]akefile GNUmakefile *.mak *.mk
Markdown *.md *.markdown
MatLab *.m
Meson meson.build
Moose
Myrddin *.myr
NSIS *.nsi *.nsh
ObjectiveC *.mm *.m *.h
OldC++ *.c++ *.cc *.cp *.cpp *.cxx *.h *.h++ *.hh *.hp *.hpp *.hxx *.inl *.C *.H
OldC *.c
OCaml *.ml *.mli *.aug
Passwd passwd
Pascal *.p *.pas
Perl *.pl *.pm *.ph *.plx *.perl
Perl6 *.p6 *.pm6 *.pm *.pl6
PHP *.php *.php3 *.php4 *.php5 *.php7 *.phtml
Pod *.pod
PowerShell *.ps1 *.psm1
Protobuf *.proto
PuppetManifest *.pp
Python *.py *.pyx *.pxd *.pxi *.scons *.wsgi
PythonLoggingConfig
QemuHX *.hx
QtMoc
R *.r *.R *.s *.q
R6Class
RSpec
REXX *.cmd *.rexx *.rx
Robot *.robot
RpmSpec *.spec
ReStructuredText *.rest *.reST *.rst
Ruby *.rb *.ruby
Rust *.rs
S4Class
Scheme *.SCM *.SM *.sch *.scheme *.scm *.sm *.rkt
SCSS *.scss
Sh *.sh *.SH *.bsh *.bash *.ksh *.zsh *.ash
SLang *.sl
SML *.sml *.sig
SQL *.sql
SystemdUnit *.service *.socket *.device *.mount *.automount *.swap *.target *.path *.timer *.snapshot *.slice
SystemTap *.stp *.stpm
Tcl *.tcl *.tk *.wish *.exp
TclOO
Tex *.tex
TeXBeamer
TTCN *.ttcn *.ttcn3
Txt2tags *.t2t *.t2t
TypeScript *.ts
Vera *.vr *.vri *.vrh
Verilog *.v
SystemVerilog *.sv *.svh *.svi
VHDL *.vhdl *.vhd
Vim vimrc [._]vimrc gvimrc [._]gvimrc *.vim *.vba
WindRes *.rc
YACC *.y
YumRepo *.repo
Zephir *.zep
DBusIntrospect *.xml
Glade *.glade
Maven2 pom.xml *.pom *.xml
PlistXML *.plist
RelaxNG *.rng
SVG *.svg
XML *.xml
XSLT *.xsl *.xslt
Yaml *.yml
AnsiblePlaybook
Varlink *.varlink
Kotlin *.kt *.kts

View File

@ -1,51 +0,0 @@
#! /bin/sh
# ctags basics
PACKAGES="ctags"
# SERVICES=""
# source the test script helpers
# requires beakerlib package
. /usr/bin/rhts-environment.sh || exit 1
. /usr/share/beakerlib/beakerlib.sh || exit 1
rlJournalStart
rlPhaseStartSetup
for p in $PACKAGES ; do
rlAssertRpm $p
done
rlRun "TmpDir=\$(mktemp -d)" 0 "Creating tmp directory"
rlRun "cp * $TmpDir"
rlRun "pushd $TmpDir"
rlPhaseEnd
rlPhaseStartTest "Smoke, sanity and function tests"
rlRun "ctags --version" 0 "Show version"
rlRun "ctags --help" 0 "Show help"
rlRun "ctags --license" 0 "Show license"
rlRun -s "ctags --list-kinds" 0 "Output a list of all tag kinds for all languages"
rlAssertNotDiffer ctags-kinds-list $rlRun_LOG
rlRun -s "ctags --list-languages" 0 "Output list of supported languages"
rlAssertNotDiffer ctags-lang-list $rlRun_LOG
rlRun -s "ctags --list-maps" 0 "Output list of language mappings"
rlAssertNotDiffer ctags-maps-list $rlRun_LOG
for l in python c ; do
rlRun "ctags -f test test.$l" 0 "Language: $l, $lWrite tags to file test"
rlAssertExists test
rlRun "ctags --fields=k test.%l" 0 "Language: $l, Include selected extension fields=k"
rlRun "ctags --fields=+afmikKlnsSz test.$l" 0 "Language: $l, Check extension fields=+afmikKlnsSz"
rlRun "ctags --extra=+fq --format=1 test.$l" 0 "Language: $l, Check options --extra=+fq --format=1"
done
# check man page
rlRun "man -P head ctags" 0 "Show the ctags man page"
# check for sane license and readme file
rlRun "head /usr/share/licenses/ctags/COPYING" 0 "Check for license file"
rlPhaseEnd
rlPhaseStartCleanup
rlRun "popd"
rlRun "rm -fr $TmpDir" 0 "Removing tmp directory"
rlPhaseEnd
rlJournalPrintText
rlJournalEnd

View File

@ -1,6 +0,0 @@
#include<stdio.h>
int main() {
printf("Hello World\n");
return 0;
}

View File

@ -1,10 +0,0 @@
#!/usr/bin/env python
def main():
return 0
if __name__ == '__main__': main()
var = 'hi'
var2 = 'hi' # blah = blah

View File

@ -1,12 +0,0 @@
---
# Run tests in all contexts
- hosts: localhost
tags:
- classic
roles:
- role: standard-test-beakerlib
tests:
- Sanity-test-for-ctags
required_packages:
- ctags
- man-db