4

Are there any way to search in fossil repository for

  • code
  • wiki pages

Fossil's documentation claims there is a search command available in UI: /search but I cannot figure out how to use it.

Anton Prokofiev
  • 937
  • 10
  • 28

2 Answers2

4

In versions before 1.31, the search command only searched check-in comments.

As of 1.31, it also searches tickets, wiki, and documentation contents. But it (still) does not search source code, unless you specify your source files as searchable documentation.

As Registered User rightly says, searching needs to be enabled explicitly for each repository. See the help for the srchsetup page, and the fts-config command.

(The Fossil website usually runs a recent version from Fossil's own trunk branch. That's why it sometimes shows features that aren't present (yet) in the most recent binaries).

Martijn
  • 13,225
  • 3
  • 48
  • 58
1

If you are using the latest from trunk, you need to enable searching in the admin section.

More specifically, please review this: http://www.fossil-scm.org/index.html/help?cmd=/srchsetup

Registered User
  • 255
  • 4
  • 12