Skip to content

Commit 164c4ff

Browse files
authored
#440: Support for reading Tags from TOML files (#441)
1 parent 3db3ece commit 164c4ff

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

doc/changes/changes_4.2.0.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,6 @@ We also added a whole section about understanding and fixing broken links betwee
1515

1616
## Documentation
1717

18-
* #427: Removed old `CHANGELOG.md` file and merged missing parts into release history
18+
* #427: Removed old `CHANGELOG.md` file and merged missing parts into release history.
1919
* #431: Documented "unwanted coverage" in user guide.
20+
* #440: Added Tag importer support for TOML files.

doc/user_guide.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -722,7 +722,6 @@ recognized file types:
722722
* Java (`.java`)
723723
* JavaScript (`.js`)
724724
* TypeScript (`.ts`)
725-
* JSON (`.json`)
726725
* Lua (`.lua`)
727726
* Objective C (`.m`, `.mm`)
728727
* Perl (`.pl`, `.pm`)
@@ -735,6 +734,11 @@ recognized file types:
735734
* Terraform (`.tf`, `.tfvars`)
736735
* Windows batch files (`.bat`)
737736

737+
**Configuration and Serialization Formats**
738+
739+
* JSON (`.json`)
740+
* TOML (`.toml`)
741+
738742
**Markup languages**
739743

740744
* HTML (`.html`, `.htm`, `.xhtml`)

importer/tag/src/main/java/org/itsallcode/openfasttrace/importer/tag/TagImporterFactory.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ public class TagImporterFactory extends ImporterFactory
3838
"rs", // Rust
3939
"sh", "bash", "zsh", // Shell programming
4040
"swift", // Swift
41+
"toml", // Tom's Obvious Minimal Language : a config file format
4142
"tf", "tfvars", // Terraform
4243
"sql", "pls" // Database related
4344
);

importer/tag/src/test/java/org/itsallcode/openfasttrace/importer/tag/TestTagImporterFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ protected List<String> getSupportedFilenames()
3030
"foo.htm", "foo.html", "foo.ini", "foo.js", "foo.ts", "foo.json", "foo.lua", "foo.m",
3131
"foo.mm", "foo.php", "foo.pl", "foo.pls", "foo.pm", "foo.py", "foo.sql", "foo.r",
3232
"foo.rs", "foo.sh", "foo.yaml", "foo.yml", "foo.xhtml", "foo.zsh", "foo.clj", "foo.kt", "foo.scala",
33-
"foo.pu", "foo.puml", "foo.plantuml", "foo.go", "foo.robot", "foo.tf", "foo.tfvars");
33+
"foo.pu", "foo.puml", "foo.plantuml", "foo.go", "foo.robot", "foo.tf", "foo.tfvars", "foo.toml");
3434
}
3535

3636
@Override

0 commit comments

Comments
 (0)