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

Fs 4724 fix temp path #72

Merged
merged 2 commits into from
Oct 17, 2024
Merged

Fs 4724 fix temp path #72

merged 2 commits into from
Oct 17, 2024

Conversation

srh-sloan
Copy link
Contributor

@srh-sloan srh-sloan commented Oct 16, 2024

Change description

FS-4724 was a bug where the export functionality didn't work on any AWS environments. We need to use a different path for writing the temp files to for creating the zip archive. Updated the file path to come from config rather than hard coded inside the app, using /tmp for deployed environments.

  • Added a unit test to check zip creation

  • Added a test fixture to cleanup the temp output dir and made existing tests use this

  • Unit tests and other appropriate tests added or updated

  • README and other documentation has been updated / added (if needed)

  • Commit messages are meaningful and follow good commit message guidelines (e.g. "FS-XXXX: Add margin to nav items preventing overlapping of logo")

How to test

Create a fund and round and build an application (or use an existing one)
Go to 'Create Export Files for Round' and this should generate a zip file to download

Copy link
Contributor

@NarenderRajuB NarenderRajuB left a comment

Choose a reason for hiding this comment

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

LGTM

@srh-sloan srh-sloan merged commit 65fc96b into main Oct 17, 2024
28 checks passed
@srh-sloan srh-sloan deleted the fs-4724-fix-temp-path branch October 17, 2024 08:16
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.

3 participants