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

Makefile: Fix sync-tree #941

Merged
merged 1 commit into from
Mar 26, 2024
Merged

Makefile: Fix sync-tree #941

merged 1 commit into from
Mar 26, 2024

Commits on Mar 26, 2024

  1. Makefile: Fix sync-tree

    Recently, `make [sync-tree]` target started to fail on JSON parsing:
    ```
    parse error: Invalid numeric literal at line 7, column 10
    ```
    
    This was caused by `syncTree.sh` script requesting source code dir from
    NeoFS Node repository. For some time now the answer began to come in
    HTML format instead of JSON, which is why `jq` failed.
    
    From now script attaches `Accept: application/json` header to get JSON
    response from the GitHub.
    
    Signed-off-by: Leonard Lyubich <[email protected]>
    cthulhu-rider committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    8fafdeb View commit details
    Browse the repository at this point in the history