Skip to content

More flexible options to run update and import - #580

Open
guillermau wants to merge 2 commits into
mainfrom
improve-update
Open

guillermau wants to merge 2 commits into
mainfrom
improve-update

Conversation

@guillermau

Copy link
Copy Markdown
Collaborator

Add command line management for import
More option for command line update

@guillermau guillermau self-assigned this Sep 10, 2026
@guillermau guillermau linked an issue Sep 10, 2026 that may be closed by this pull request
1 task
@guillermau guillermau changed the title Improve update More flexible options to run update and import Sep 10, 2026
Comment on lines +248 to +256
console.time(
`${useCaseLogTitle} ${idsRow.externalIds.length} software externalData to update from ${idsRow.sourceSlug}`
);
for (const externalId of idsRow.externalIds) {
await updateExternalData({ sourceSlug: idsRow.sourceSlug, externalId });
}
console.timeEnd(
`${useCaseLogTitle} ${idsRow.externalIds.length} software externalData to update from ${idsRow.sourceSlug}`
);

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.

mettre dans une variable la string utilisé pour le .time / .timeEnd pour ne pas oublié un renomage un jour

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.

More flexible options to run update and import

2 participants