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: added diff info collection #14

Merged
merged 6 commits into from
Jan 9, 2024
Merged

Conversation

melancholiai
Copy link
Collaborator

Question Answer
Bug fix
New feature
Breaking change
Deprecations
Documentation
Tests added
Chore

collected info will be registered to arstotzka and will look like this:

{
  "info": {
    "data": {
      "bbox": [
        1.5201119,
        42.5079796,
        1.5338618,
        42.5408647
      ],
      "count": {
        "ways": 7,
        "nodes": 10,
        "relations": 1,
        "changesets": 0
      },
      "crc32": "a34ab64d",
      "maxid": {
        "ways": 1199455446,
        "nodes": 11125044850,
        "relations": 3004189,
        "changesets": 0
      },
      "minid": {
        "ways": 144382952,
        "nodes": 51399278,
        "relations": 3004189,
        "changesets": 0
      },
      "buffers": {
        "size": 2840,
        "count": 1,
        "capacity": 1048576
      },
      "metadata": {
        "all_objects": {
          "uid": false,
          "user": false,
          "version": true,
          "changeset": false,
          "timestamp": true
        },
        "some_objects": {
          "uid": false,
          "user": false,
          "version": true,
          "changeset": false,
          "timestamp": true
        }
      },
      "timestamp": {
        "last": "2023-08-18T18:44:22Z",
        "first": "2023-08-18T11:49:57Z"
      },
      "objects_ordered": true,
      "multiple_versions": false
    },
    "file": {
      "name": "/tmp/005/055/001.osc.gz",
      "size": 1246,
      "format": "XML",
      "compression": "gzip"
    },
    "header": {
      "boxes": [],
      "option": {
        "version": "0.6",
        "generator": "osmium/1.14.0"
      },
      "with_history": true
    }
  }
}

src/constants.ts Show resolved Hide resolved
@syncush
Copy link
Contributor

syncush commented Dec 27, 2023

CI fails on security , please check it

@@ -38,6 +38,7 @@ jobs:
- uses: actions/checkout@master
- name: Run Snyk to check for vulnerabilities
uses: snyk/actions/node@master
continue-on-error: true
Copy link
Contributor

Choose a reason for hiding this comment

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

I prefer to the test to fails and see the report then continue on error, even if it exists in other repos.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

this is a known issue which sadly github-workflow does not support.
Notice that the report is shown but the step is marked with a green tick.

@syncush syncush merged commit 2c4559a into master Jan 9, 2024
8 checks passed
@syncush syncush deleted the added-diff-info-collection branch January 9, 2024 14:49
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.

None yet

2 participants