Skip to content
This repository has been archived by the owner on Nov 12, 2024. It is now read-only.

Wip: adding monthly chorus for dependency updates #513

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions d/m/components.ftd
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
-- import: fastn.com/d/m/dependency-model
69 changes: 69 additions & 0 deletions d/m/dependency-data.ftd
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
-- import: fastn.com/d/m/dependency-model as dm
-- import: fastn.com/u



-- dm.dependency-data list dependencies:

-- dm.dependency-data: $marked

-- end: dependencies







-- dm.dependency-data marked: Marked.js
current-version: 9.1.4
available-version: 9.1.5
github-url: https://github.com/markedjs/marked/
doc-url: https://marked.js.org/
reference-url: https://cdnjs.com/libraries/marked
updates: $marked-updates








-- dm.update list marked-updates:

-- dm.update: $u.arpita
updated-on: 31-10-2023
version: 9.1.4
version-release-date: 31-10-2023
pr-link: https://github.com/fastn-stack/fastn/pull/1440
version-link: https://github.com/markedjs/marked/releases/tag/v9.1.4

Using latest version marked 9.1.4, instead of 5.1.1.

**Known Problems:**
The problem with this version is that the heading gets converted into
appropriate heading tag but it doesn't contain the id attribute. Consider the
code below

`# Heading 1`

The above code gets converted into the following html
`<h1>Heading 1</h1>`

Instead of
`<h1 id="heading-1">Heading 1</h1>`

Checkout the [github issue](https://github.com/markedjs/marked/issues/3067)
raised in the marked.

**Solution:**

Since we never encourage `fastn` users to ever use markdown headings but to use
heading components provided by typography or doc site packages. This takes care
of the problem above.

So we can go ahead with this PR.


-- end: marked-updates
24 changes: 24 additions & 0 deletions d/m/dependency-model.ftd
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
-- import: fastn.com/u


-- record dependency-data:
caption name:
string current-version:
string available-version:
optional string github-url:
optional string doc-url:
optional string reference-url:
optional string other-url:
update list updates:




-- record update:
caption u.user-data updater:
string updated-on:
string version:
string version-release-date:
string pr-link:
optional string version-link:
optional body about:
11 changes: 9 additions & 2 deletions d/m.ftd → d/m/index.ftd
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
-- ds.h1: Version Policy

Since we are a binary crate, and our library crates are only largely meant to be
used by our binary crate, we are targetting the latest Rust version. Whenever a
used by our binary crate, we are targeting the latest Rust version. Whenever a
new version is released we always switch to it.

-- ds.h1: Release Management
Expand All @@ -16,6 +16,13 @@ To create a release do the following:

-- ds.h1: Monthly Cleanups

1. Run `cargo update`.
Monthly dependency updates are a must! We've set up a dedicated page to ensure
we stay on track with this practice.

Currently we have following dependencies and tracks:

1. Marked.js: Parse markdown to HTML
2. Prism.js: Code highlighter
3. `cargo update`: Updates all rust dependencies

-- end: ds.page
13 changes: 13 additions & 0 deletions u/arpita-jaiswal.ftd
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
-- import: fastn-community.github.io/spectrum-ds/common
-- import: fastn.com/featured as ft-ui
-- import: fastn.com/u/model


-- model.user-data arpita: Arpita Jaiswal
avatar: $fastn-assets.files.images.u.arpita.jpg
profile: Lead Engineer
github-url: https://github.com/Arpita-Jaiswal
linkedin: https://www.linkedin.com/in/arpita-jaiswal-661a8b144/
discord: https://discord.gg/arpita_j

I believe that we are trying to cater the need of world with `fastn` technology.



-- ds.user-info: Arpita Jaiswal
avatar: $fastn-assets.files.images.u.arpita.jpg
Expand Down
7 changes: 4 additions & 3 deletions u/index.ftd
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
-- import: fastn-community.github.io/spectrum-ds/common
-- import: fastn.com/featured as ft-ui
-- import: fastn.com/u/arpita-jaiswal
export: arpita




-- import: fastn.com/u/model
export: user-data
8 changes: 8 additions & 0 deletions u/model.ftd
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
-- record user-data:
caption name:
optional ftd.image-src avatar:
optional string profile:
optional body description:
optional string github-url:
optional string linkedin:
optional string discord: