Skip to content

Set up initiatives for the project - #26

Merged
Beanow merged 1 commit into
masterfrom
bean-empty-initiatives
Apr 8, 2020
Merged

Beanow merged 1 commit into
masterfrom
bean-empty-initiatives

Conversation

@Beanow

@Beanow Beanow commented Mar 30, 2020

Copy link
Copy Markdown

Assumes #22 and #23 are merged.

This updates the project file mainly. Which means we now require
the environment variable SOURCECRED_INITIATIVES_DIRECTORY is set
and a valid directory. To make sure of this an empty directory is
added, and the environment variable is exported.

Test plan:
Updating the instance should include "[ GO ] initiatives" and "[ DONE ] initiatives" in it's progress indicator. This indicates both the project file is correctly updated and SOURCECRED_INITIATIVES_DIRECTORY is set and valid.

@teamdandelion teamdandelion left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Why does the diff show initiatives/.gitkeep as a relevant file?

teamdandelion
teamdandelion previously approved these changes Apr 6, 2020
@Beanow

Beanow commented Apr 6, 2020

Copy link
Copy Markdown
Author

Why does the diff show initiatives/.gitkeep as a relevant file?

The directory must exist when you specify it.
And you must specify the directory when you specify initiatives.remoteUrl in the project file.

As git only tracks directories with files in them, .gitkeep is a convention to preserve important empty directories in a git repository.

@Beanow
Beanow force-pushed the bean-identities branch from 38d8450 to ef29c47 Compare April 8, 2020 16:13
This updates the project file mainly. Which means we now require
the environment variable `SOURCECRED_INITIATIVES_DIRECTORY` is set
and a valid directory. To make sure of this an empty directory is
added, and the environment variable is exported.
@Beanow
Beanow force-pushed the bean-empty-initiatives branch from cbbe5e5 to 6ad8e51 Compare April 8, 2020 16:14
@Beanow
Beanow changed the base branch from bean-identities to master April 8, 2020 16:15
@Beanow
Beanow dismissed teamdandelion’s stale review April 8, 2020 16:15

The base branch was changed.

@Beanow
Beanow requested a review from teamdandelion April 8, 2020 16:15
@Beanow
Beanow merged commit 3ec3049 into master Apr 8, 2020
@Beanow
Beanow deleted the bean-empty-initiatives branch April 8, 2020 16:21
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