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

Introduce hsec-sync (#166) #168

Merged
merged 6 commits into from
Mar 29, 2024
Merged

Conversation

blackheaven
Copy link
Collaborator

I have create a new library/executable to synchronize a local security advisories.

Maybe I should also add a status operation, WDYT?

See #166

Maybe be use in #148 and by flora (/cc @tchoutri).

@blackheaven blackheaven linked an issue Mar 19, 2024 that may be closed by this pull request
@MangoIV
Copy link
Contributor

MangoIV commented Mar 25, 2024

for me this is okay as long as I have a directory or git repository url to point it at.

cliOpts

cliOpts :: ParserInfo (IO ())
cliOpts = info (commandsParser <**> helper) (fullDesc <> header "Haskell Advisories tools")
Copy link
Contributor

Choose a reason for hiding this comment

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

I never understood why we use flip (<*>) just for the helper...

code/hsec-sync/src/Security/Advisories/Sync/Git.hs Outdated Show resolved Hide resolved
@blackheaven blackheaven merged commit 7fbbee2 into haskell:main Mar 29, 2024
8 checks passed
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.

offer API to request security advisories
3 participants