Skip to content

Conversation

@tdonohue
Copy link
Member

Description

Several PostCSS plugins are installed in DSpace but are unused. Specifically:

Because these are unused, I'm removing them completely. Both of these plugins also rely on outdated versions of PostCSS. So, removing them makes it much easier to upgrade PostCSS in the future.

Instructions for Reviewers

  • Ensure UI still compiles and passes tests
  • Ensure themes still work. I've already tested this manually and found no changes in behavior.

@tdonohue tdonohue added dependencies Pull requests that update a dependency file 1 APPROVAL pull request only requires a single approval to merge labels Oct 23, 2024
@tdonohue tdonohue added this to the 9.0 milestone Oct 23, 2024
@tdonohue
Copy link
Member Author

This should be backported to 8.x and 7.x, as these PostCSS plugins are unused in those versions as well.

I'll create manual backports.

@tdonohue tdonohue added port to dspace-7_x This PR needs to be ported to `dspace-7_x` branch for next bug-fix release port to dspace-8_x This PR needs to be ported to `dspace-8_x` branch for next bug-fix release labels Oct 23, 2024
@alanorth alanorth removed the port to dspace-7_x This PR needs to be ported to `dspace-7_x` branch for next bug-fix release label Oct 24, 2024
Copy link
Member

@kshepherd kshepherd left a comment

Choose a reason for hiding this comment

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

+1 tests well (and the 7.x backport is already reviewed and merged)

@kshepherd kshepherd merged commit 660b873 into DSpace:main Oct 24, 2024
@dspace-bot
Copy link
Contributor

Backport failed for dspace-8_x, because it was unable to cherry-pick the commit(s).

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin dspace-8_x
git worktree add -d .worktree/backport-3547-to-dspace-8_x origin/dspace-8_x
cd .worktree/backport-3547-to-dspace-8_x
git switch --create backport-3547-to-dspace-8_x
git cherry-pick -x c93ed03004ddff1186548342b853df2281bdb43a 39c5c755d75339230681d45fec5b4878634d7e16

@kshepherd
Copy link
Member

@tdonohue the failed backport could be because of the previous merges that also change package.json so hopefully not hard to manually create

@tdonohue
Copy link
Member Author

@kshepherd : the automated backport error is expected. I should have removed that port to dspace-8_x label.

This PR was already (manually) ported to both 8.x and 7.x:

@tdonohue tdonohue deleted the remove_unused_postcss_deps branch October 24, 2024 15:56
@tdonohue tdonohue removed the port to dspace-8_x This PR needs to be ported to `dspace-8_x` branch for next bug-fix release label Oct 24, 2024
atarix83 pushed a commit to 4Science/dspace-angular that referenced this pull request Nov 3, 2025
[GLAM-952] fix issue with bitstream observable emission

Approved-by: Vincenzo Mecca
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1 APPROVAL pull request only requires a single approval to merge dependencies Pull requests that update a dependency file

Projects

No open projects
Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

4 participants