Skip to content

Chore/bump type versions ctrlc 3450 - #116

Open
Amber-Cloud wants to merge 7 commits into
edgefrom
chore/bump-type-versions-CTRLC-3450
Open

Amber-Cloud wants to merge 7 commits into
edgefrom
chore/bump-type-versions-CTRLC-3450

Conversation

@Amber-Cloud

Copy link
Copy Markdown

No description provided.

@Amber-Cloud
Amber-Cloud changed the base branch from main to edge September 14, 2026 13:09
Comment thread functions/send-mail/1.0/Justfile

@Mees-Molenaar Mees-Molenaar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If those versions bump seem to be necessary we need to fix the underlying problem instead of how it is solved here.

Comment on lines -1 to -5
package betty-blocks:create@2.0.0;
package betty-blocks:create@2.1.0;

interface create {
use betty-blocks-types:data-api/data-api@2.0.0.{helper-context};
use betty-blocks-types:types/types@2.0.0.{betty-model, betty-property-mapping, betty-record-json};

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The necessary types didnt change for the create step right? That would mean that the types dont have to be bumped and also no new version of the create should be published.

I can answer t myself I guess, no code is changed in the create step. So the types it uses are actually the same so the bumps are not relevant.

Comment on lines -1 to -5
package betty-blocks:delete@2.0.0;
package betty-blocks:delete@2.1.0;

interface delete {
use betty-blocks-types:data-api/data-api@2.0.0.{helper-context};
use betty-blocks-types:types/types@2.0.0.{betty-selected-record};

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as in the create, no code changes. Types for delete are not changed so no bumps needed

Comment on lines -1 to -4
package betty-blocks:send-mail@2.0.0;
package betty-blocks:send-mail@2.1.0;

interface send-mail {
use betty-blocks-types:types/types@2.0.0.{json-string, betty-property-path};

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as for delete and create

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These were my changes correct? Just a note that we need to carefully test this component for if it still works. I dont fully remember anymore if I already did that.

interface store {
use betty-blocks-types:data-api/data-api@2.0.0.{helper-context};
use betty-blocks-types:types/types@2.0.0.{betty-model, betty-property};
use betty-blocks-types:types/types@2.2.0.{betty-model, betty-property};

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should not be needed

import betty-blocks-types:data-api/data-api@2.0.0;
import betty-blocks-types:types/types@2.0.0;
import betty-blocks-types:upload-file/upload-file@2.0.0;
import betty-blocks-types:types/types@2.2.0;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should not be needed

Comment on lines +1 to +5
package betty-blocks:update@2.1.0;

interface update {
use betty-blocks-types:data-api/data-api@2.0.0.{helper-context};
use betty-blocks-types:types/types@2.0.0.{betty-property-mapping, betty-model, betty-selected-record, betty-record-json};
use betty-blocks-types:types/types@2.2.0.{betty-property-mapping, betty-model, betty-selected-record, betty-record-json};

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as for the other steps

Comment on lines +1 to +5
package betty-blocks:upsert@2.1.0;

interface upsert {
use betty-blocks-types:data-api/data-api@2.0.0.{helper-context};
use betty-blocks-types:types/types@2.0.0.{betty-property-mapping, betty-model, betty-property-path, betty-record-json};
use betty-blocks-types:types/types@2.2.0.{betty-property-mapping, betty-model, betty-property-path, betty-record-json};

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as for the other steps

Comment thread Justfile
Comment on lines +7 to +13
[ -f "$path/Justfile" ] || continue
(cd "$path" && just build)
done
clean:
#!/usr/bin/env sh
for path in functions/*/*; do
[ -f "$path/Justfile" ] || continue

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this added?

Comment thread mix.exs
Comment on lines +44 to +59
Enum.map(function_paths(), fn path ->
{_, 0} = System.cmd("just", ["build"], cd: path, into: IO.stream())
end)
end

defp test_components(_args) do
"functions/*/*"
|> Path.wildcard()
|> Enum.map(fn path ->
Enum.map(function_paths(), fn path ->
{_, 0} = System.cmd("just", ["test"], cd: path, into: IO.stream())
end)
end

defp function_paths do
"functions/*/*"
|> Path.wildcard()
|> Enum.filter(&File.regular?(Path.join(&1, "Justfile")))
end

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are these changes really necessary?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants