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

Remove the ArchivedProject model. #2303

Merged
merged 2 commits into from
Sep 25, 2024
Merged

Remove the ArchivedProject model. #2303

merged 2 commits into from
Sep 25, 2024

Conversation

tompollard
Copy link
Member

This pull request removes the unused ArchivedProject model.

We now track the "Archived" status of projects on the ActiveProject model (see: #2149).

In #2170 we migrated all ArchivedProject content to ActiveProjects.

@bemoody
Copy link
Collaborator

bemoody commented Sep 25, 2024

Thanks. This just needs MIGRATE_AFTER_INSTALL=True.

Unfortunately after I tried to fix loaddemo in #2297, it's now broken in a different weird way. :/

@tompollard
Copy link
Member Author

This just needs MIGRATE_AFTER_INSTALL=True.

Thanks, now added.

Unfortunately after I tried to fix loaddemo in #2297, it's now broken in a different weird way. :/

That explains the error I was getting yesterday after trying to run loaddemo. Before running this command, I needed to clear the media/active-projects/ directory.

@tompollard tompollard merged commit 0b6d321 into dev Sep 25, 2024
8 checks passed
@tompollard tompollard deleted the tp/rm_archivedproject branch September 25, 2024 18:10
tompollard added a commit that referenced this pull request Sep 25, 2024
We use `.gitkeep` files as placeholders for "empty" directories. For
example we have two demo active projects that don't contain any files,
and we want the `loaddemo` command to create project directories for
them. However, `loaddemo` (or `TestMixin`, which loads the demo files
for the test suite) shouldn't create an actual `.gitkeep` file in the
project directory.

Additionally, `loaddemo` shouldn't fail if the demo project directory
already exists.

Should fix problems with `test-upgrade.sh` as seen in #2303.
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