• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

scriptype / writ-cms / 13516829030
39%

Build:
DEFAULT BRANCH: master
Ran 25 Feb 2025 08:29AM UTC
Jobs 6
Files 108
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

25 Feb 2025 08:17AM UTC coverage: 80.486% (-0.8%) from 81.334%
13516829030

push

github

scriptype
Introduce ContentModel2/Collections (WIP)

Start of a major change in content modelling. Develop inside master without touching the working version.

Goal:

- The old contentModel structure becomes a "collection" of "entries".
- Root possibly has many collections.
- Each collection will be of a certain content type. e.g. TextEntry
  Collection
- Collections have categorization and tagging within them
- stuff like: example.com/blog, example.com/projects,
  example.com/podcast (each directory is a collection)

Notes:

- Bypassed bringing date from git during enhancements
- Eliminated everything async from contentModel(2) (for clarity and testability)
- Removed outputPath from categories and posts because it caused issues
  and also seemed it shouldn't be a concern of contentModel to calculate
  outputPath (we'll see).
- Identified posts and categories by their fsObject.path
- Removed subpages and homepage from linking enhancer
- Allowed contentModel hook to be run for each collection
- Computed entry and tag permalinks based on fsObject.path (feels like the containing
  collection should be available to entry scopes)

440 of 652 branches covered (67.48%)

Branch coverage included in aggregate %.

397 of 477 new or added lines in 19 files covered. (83.23%)

2311 of 2766 relevant lines covered (83.55%)

228.5 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
86.67
src/compiler/contentModel2/collection/enhancers/dates.js
1
94.74
src/compiler/contentModel2/collection/models/category.js
1
86.96
src/compiler/contentModel2/collection/models/post.js
2
66.67
src/compiler/contentModel2/models/asset.js
3
82.86
src/compiler/contentModel2/models/homepage.js
5
86.11
src/compiler/contentModel2/parseTemplate.js
9
84.11
src/compiler/contentModel2/collection/fsToContent.js
26
26.87
src/compiler/contentModel2/models/subpage.js
32
52.25
src/compiler/contentModel2/index.js
Jobs
ID Job ID Ran Files Coverage
1 13516829030.1 25 Feb 2025 08:29AM UTC 108
80.49
GitHub Action Run
2 13516829030.2 25 Feb 2025 08:29AM UTC 108
80.49
GitHub Action Run
3 13516829030.3 25 Feb 2025 08:29AM UTC 108
80.49
GitHub Action Run
4 13516829030.4 25 Feb 2025 08:29AM UTC 108
80.49
GitHub Action Run
5 13516829030.5 25 Feb 2025 08:29AM UTC 108
80.49
GitHub Action Run
6 13516829030.6 25 Feb 2025 08:29AM UTC 108
80.49
GitHub Action Run
Source Files on build 13516829030
  • Tree
  • List 108
  • Changed 6
  • Source Changed 2
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #13516829030
  • e5fb3735 on github
  • Prev Build on master (#13403945353)
  • Next Build on master (#13517170619)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc