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

chore: support new crawlee purge logic #475

Merged
merged 5 commits into from
Feb 8, 2024
Merged

chore: support new crawlee purge logic #475

merged 5 commits into from
Feb 8, 2024

Conversation

vladfrangu
Copy link
Member

This has been a pain and a half to work in, especially because no TS 😢 but that'll change soon 😏

Also adds in proper migration support to custom folders instead of a hardcoded folder for storages, full redirect of storages based on ENV variables, and a base for detecting old apify-based actors (who knows, maybe it'll be useful in the future)

Closes #373

@vladfrangu vladfrangu requested a review from B4nan January 30, 2024 23:14
This has been a pain and a half to work in, especially because no TS 😢 but that'll change soon 😏
@github-actions github-actions bot added this to the 82nd sprint - Tooling team milestone Feb 5, 2024
@github-actions github-actions bot added the t-tooling Issues with this label are in the ownership of the tooling team. label Feb 5, 2024
Copy link

@janbuchar janbuchar left a comment

Choose a reason for hiding this comment

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

My understanding of the codebase is limited, but the logic seems sound.

src/commands/run.js Outdated Show resolved Hide resolved
src/commands/run.js Show resolved Hide resolved
src/commands/run.js Outdated Show resolved Hide resolved
return false;
}

// We cannot infer
Copy link
Member

Choose a reason for hiding this comment

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

this basically means "use latest version", so use crawlee v3

@vladfrangu vladfrangu merged commit 9c04254 into master Feb 8, 2024
21 checks passed
@vladfrangu vladfrangu deleted the chore/no-purge branch February 8, 2024 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
t-tooling Issues with this label are in the ownership of the tooling team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add --no-purge to apify run
3 participants