Skip to content

376 refactor mail jira reply notebook config - #406

Open
Michelle4929 wants to merge 2 commits into
sailuh:masterfrom
Michelle4929:376-refactor-mail-jira-notebook-config
Open

376 refactor mail jira reply notebook config#406
Michelle4929 wants to merge 2 commits into
sailuh:masterfrom
Michelle4929:376-refactor-mail-jira-notebook-config

Conversation

@Michelle4929

Copy link
Copy Markdown
Collaborator

Purpose

Refactoring mail, jira, and reply configurations into taking 2 configurations (project vs analysis), more details in issue #376 .

New Implementations

Project: Configurations that typically do not change between analyses

  • geronimo_project.yml
  • openssl_project.yml

Analysis Specific: Configurations that do change depending on the analysis

  • analysisE.yml

  • analysisI.yml

Changed Notebooks: These notebooks now read 2 configs

  • download_jira_issue.Rmd
  • download_mail.Rmd
  • reply_communication_showcase.Rmd

Example
Before:
conf <- parse_config("../conf/geronimo.yml")

After:
project <- parse_config("../conf/geronimo_project.yml")
analysis <- parse_config("../conf/analysisE.yml")

@Michelle4929 Michelle4929 linked an issue May 9, 2026 that may be closed by this pull request
5 tasks
@Michelle4929
Michelle4929 force-pushed the 376-refactor-mail-jira-notebook-config branch from 3e07427 to 343a652 Compare May 9, 2026 23:35
@Michelle4929 Michelle4929 self-assigned this May 10, 2026

@cfuke1 cfuke1 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Was able to run everything.

Comment thread conf/analysisE.yml
@@ -0,0 +1,148 @@
# -*- yaml -*-

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

analysisE and analysisI look the same just comments out different parts

Comment thread conf/geronimo_project.yml
save_folder_path: ../../rawdata/geronimo/mod_mbox/save_mbox_mail/
# mbox_file_path is for use only with parse_mbox() function. It is the file to parse
# mbox_file_path: ../../rawdata/geronimo/mod_mbox/save_mbox_mail/geronimo.mbox
project_key_2:

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Only difference besides for links between geronimo and openssl is lines 55 to 70, format looks like a copy and paste otherwise.

@john-a-flinn john-a-flinn left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Code between similar files has the same structure and all files share a similar the overall structure.

Signed-off-by: Michelle4929 <giyoung7@hawaii.edu>
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.

Refactor Mail and Jira Notebook Config

4 participants