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

feat: change script to support more than 1 git repository gf-589 #590

Merged

Conversation

ArtemZag
Copy link
Collaborator

@ArtemZag ArtemZag commented Oct 2, 2024

No description provided.

@ArtemZag ArtemZag linked an issue Oct 2, 2024 that may be closed by this pull request
@ArtemZag ArtemZag force-pushed the 589-feat-script-should-support-more-than-1-local-git-repository branch 4 times, most recently from 845146e to a5a77a2 Compare October 2, 2024 12:51
@ArtemZag ArtemZag self-assigned this Oct 2, 2024
@ArtemZag ArtemZag added this to the git-fit-release-6 milestone Oct 2, 2024
@ArtemZag ArtemZag force-pushed the 589-feat-script-should-support-more-than-1-local-git-repository branch 2 times, most recently from 8e80d83 to 5ec5526 Compare October 2, 2024 12:55
@ArtemZag ArtemZag changed the title change script to support more than 1 git repository feat: change script to support more than 1 git repository Oct 2, 2024
@ArtemZag ArtemZag force-pushed the 589-feat-script-should-support-more-than-1-local-git-repository branch from 5ec5526 to c66eb9b Compare October 2, 2024 12:57
@ArtemZag ArtemZag changed the title feat: change script to support more than 1 git repository feat: change script to support more than 1 git repository gf-589 Oct 2, 2024
@ArtemZag ArtemZag force-pushed the 589-feat-script-should-support-more-than-1-local-git-repository branch 2 times, most recently from c6567b6 to aff30fd Compare October 2, 2024 13:04
@@ -116,4 +122,50 @@ class AnalyticsService {
}
}

function mergeStats(
Copy link
Collaborator

Choose a reason for hiding this comment

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

We keep all helpers separately in a separate folder in libs/helpers, for example

/scripts/analytics/src/modules/analytics/libs/helpers/merge-stats/merge-stats.helper.ts
/scripts/analytics/src/modules/analytics/libs/helpers/merge-by-criteria/merge-by-criteria.helper.ts

And then they should be re-exported from /scripts/analytics/src/modules/analytics/libs/helpers/helper.ts

Take a look at this structure here /apps/backend/src/libs/plugins/authorization/

Copy link
Collaborator

Choose a reason for hiding this comment

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

Also, we use arrow functions instead of function declaration, except for migrations because it's generated by default

@ArtemZag ArtemZag force-pushed the 589-feat-script-should-support-more-than-1-local-git-repository branch 5 times, most recently from c6dacc7 to 2e5d7d6 Compare October 2, 2024 14:55
@ArtemZag ArtemZag force-pushed the 589-feat-script-should-support-more-than-1-local-git-repository branch from 2e5d7d6 to 2649618 Compare October 3, 2024 08:50
@ArtemZag ArtemZag merged commit a7e9082 into main Oct 3, 2024
6 checks passed
@github-actions github-actions bot mentioned this pull request Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

Successfully merging this pull request may close these issues.

feat: Script should support more than 1 local git repository
3 participants