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

Changes for GDPR compliance. #1303

Open
wants to merge 13 commits into
base: develop
Choose a base branch
from
Open

Changes for GDPR compliance. #1303

wants to merge 13 commits into from

Conversation

lsh-0
Copy link
Contributor

@lsh-0 lsh-0 commented Feb 20, 2024

No description provided.

@lsh-0 lsh-0 changed the title marked unsafe/troublesome sections of code Changes for GDPR compliance. Feb 20, 2024
@lsh-0
Copy link
Contributor Author

lsh-0 commented Mar 1, 2024

@discodavey , here's a question, how do I tie this change of pattern-library to a journal PR via patterns-php?

From my understanding:

  1. branch patterns-library, make the change
  2. branch patterns-php, switch to a version of patterns-library using bin/update
  3. pin patterns-php revision in journal

It's step 2 I'm stuck on. My goal is to update https://pr-1849--journal.elifesciences.org with the changes

@discodavey
Copy link
Member

@lsh-0 You normally merge the Pattern Library PR.

This will then in turn create a PR in patterns-php and you then do the same again with that PR and merge it.

That will create a PR in Journal for you to test and then merge for the final time

@lsh-0
Copy link
Contributor Author

lsh-0 commented Mar 3, 2024

Hrm. This may turn out to be a dead end. I need to figure out a way to test this before merging.

@discodavey
Copy link
Member

@lsh-0 If you need anymore info then please shout

@lsh-0
Copy link
Contributor Author

lsh-0 commented Mar 7, 2024

No worries, thanks @discodavey

@lsh-0 lsh-0 marked this pull request as ready for review March 11, 2024 02:07
@lsh-0
Copy link
Contributor Author

lsh-0 commented Mar 11, 2024

@discodavey , @viktoria-mahmud , I can't figure out how to test changes to main.js without first merging to develop and then launching a test instance so I'd be grateful for any feedback you have before I merge this in.

@discodavey
Copy link
Member

The way to do this is to create a feature branch in patterns-php and then bring in the feature branch from pattern-library.
./bin/update pr-1303

Then you do the same for journal where you bring in the feature branch created from patterns-php.

COMPOSER_MEMORY_LIMIT=-1 composer require elife/patterns:dev-NAME_OF_NEW_PATTERNS_PHP_BRANCH

This will mean nothing gets merged and you can then see whether it works or not. Does this make sense?

@lsh-0
Copy link
Contributor Author

lsh-0 commented Mar 27, 2024

That was very helpful, thanks @discodavey .

I'm now able to debug the changes and make sure they're working without doing anything dangerous, cheers.

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