Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using the GhAct Framework #21

Merged
merged 3 commits into from
Apr 26, 2024
Merged

Using the GhAct Framework #21

merged 3 commits into from
Apr 26, 2024

Conversation

retog
Copy link
Collaborator

@retog retog commented Apr 26, 2024

No description provided.

@retog retog merged commit 2ecb464 into main Apr 26, 2024
1 check passed
@retog retog deleted the ghact branch April 26, 2024 17:00
Status,
STATUS_TEXT,
} from "./deps.ts";
import frontend from "ghact/src/frontend.tsx"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why is this not imported via depts.ts? This will make builds take longer and have worse caching for no apparent reason

"imports": {
"ghact/": "https://deno.land/x/[email protected]/",
"std/": "https://deno.land/[email protected]/",
"preact": "https://esm.sh/[email protected]",
Copy link
Collaborator

Choose a reason for hiding this comment

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

what is preact and why are we using it suddenly?

"preact/": "https://esm.sh/[email protected]/"
},
"compilerOptions": {
"jsx": "react-jsx",
Copy link
Collaborator

Choose a reason for hiding this comment

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

why do we use jsx?

@@ -4,247 +4,167 @@
* The jobs are accepted as messages and stored on disk, when the worker is started uncompleted jobs are picked up and exxecuted.

*/
import { existsSync, path, walk } from "./deps.ts";
import GhactServiceWorker from "ghact/src/GhactServiceWorker.ts";
import GitRepository from "ghact/src/GitRepository.ts";
Copy link
Collaborator

Choose a reason for hiding this comment

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

again, why is this not imported via depts.ts?

import { createBadge } from "./log.ts";
import { type Job, JobsDataBase } from "./JobsDataBase.ts";
import { getModifiedAfter, updateLocalData } from "./repoActions.ts";
import { type Job } from "https://deno.land/x/[email protected]/src/JobsDataBase.ts";
Copy link
Collaborator

Choose a reason for hiding this comment

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

why does this import use a different version of ghact?

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.

2 participants