-
-
Notifications
You must be signed in to change notification settings - Fork 847
Closed
Labels
Complexity: Extra LargeP-Feature: Project Info and PageA project's detail page (e.g. https://www.hackforla.org/projects/100-automations)A project's detail page (e.g. https://www.hackforla.org/projects/100-automations)P-Feature: Projects pagehttps://www.hackforla.org/projects/https://www.hackforla.org/projects/role: back end/devOpsTasks for back-end developersTasks for back-end developerssize: 3ptCan be done in 13-18 hoursCan be done in 13-18 hours
Milestone
Description
Dependency
Overview
We need to change the code for displaying the language data so that it can display languages for projects that have 2 or more repositories (repos).
Action Items
Developer
- Understand how the website is currently getting languages data for projects 12
- In the _projects/civic-tech-index.md 3, change
additional-repo-idsfromtoadditional-repo-ids: '275296439'additional-repo-ids: - 275296439 - With the change you made above to
additional-repo-ids, change the code to work with the 2 or more repos. - Check your code meets the Acceptance Criteria below
Acceptance Criteria
- Code still works for any projects with only 1 repository (repo).
- A project's markdown file that only has a non-empty
identificationfield and noadditional-repo-idsfield. - A project's markdown file with a non-empty
identificationfield and an emptyadditional-repo-idsfield.
- A project's markdown file that only has a non-empty
- Code for any projects with 2 or more repos
- Possible scenario: A project has 2 repos, so the project's markdown file has a non-empty
identificationfield and theadditional-repo-idsfield has 1 repo listed. - Possible scenario: A project has 3 or more repos, so the project's markdown file has a non-empty
identificationfield and anadditional-repo-idsfield with 2 or more repos listed.
- Possible scenario: A project has 2 repos, so the project's markdown file has a non-empty
- When displaying languages for a project, the same languages are not listed multiple times. For example, if a project has HTML as a language in two repos, its list of languages when displayed on the website should only list HTML once.
- On the Projects page 4,
- The filters work properly
- The languages and contents on the cards remain the same as on the live website
- After all the code changes, check the Languages listed for the detailed Civic Tech Index project page matches the one on the live website 5
- Also, check other project's detailed pages to make sure everything looks and works okay
- Nothing is broken on the website due to your code changes
Merge Team
- Once the pull request associated with this issue is merged, go to Rollout Plan: Change code to read data from multiple project repositories #6138 and
- Check off this issue under the Dependency section
- If all the issues in Phase 1 of the Dependency section are checked off, move each of the issues in Phase 2 of the Dependency section to the New Issue Approval column and apply a ready for prioritization label to each of those issues.
Resources/Instructions
- This issue is tracked in Rollout Plan: Change code to read data from multiple project repositories #6138
Footnotes
-
Previous issue Allow for project "languages" to be pulled from multiple repositories #3805 and its pr Pulls languages from multiple repos #5037 that the work for this issue should be built upon. (Note: Due to code changes, please look at the actual files in the codebase for the most current code.) Also, look at Refactor
secondRepoIdfor clarity #5231 for the refactor of variables and fields. ↩
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Complexity: Extra LargeP-Feature: Project Info and PageA project's detail page (e.g. https://www.hackforla.org/projects/100-automations)A project's detail page (e.g. https://www.hackforla.org/projects/100-automations)P-Feature: Projects pagehttps://www.hackforla.org/projects/https://www.hackforla.org/projects/role: back end/devOpsTasks for back-end developersTasks for back-end developerssize: 3ptCan be done in 13-18 hoursCan be done in 13-18 hours
Type
Projects
Status
Done
Status
In progress (actively working)