
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
osm-comments-notes-parser
Advanced tools
Parses through OSM changeset discussion and notes files and puts them into a postgres db
Reads XML files and saves into database.
Run npm install
Setup database:
createdb <db_name>
psql <db_name> < create_tables.sql
Setup environment variables required for the project:
export OSM_COMMENTS_POSTGRES_URL='postgres://<username>@localhost/osm-comments'
export OSM_COMMENTS_TEST_POSTGRES_URL='postgres://username@localhost/osm-comments-test'
In a node shell:
var notesParser = require('./notes');
notesParser({filename: '/path/to/notes-xml'});
var changesetParser = require('./changesets');
changesetParser({filename: '/path/to/changeset-xml'});
From the terminal:
node index.js <notes|changesets> --filename=/path/to/xml/file
Run npm test
When starting out with an empty database, there is an optimized way to load the initial backlog of changesets. Create an empty folder called csv
in the project root and pass the option: initial=true
changesetParser. After this command is run, run psql <db_name> < changesets/post_initial.sql
to load the CSVs into the database. FIXME: this should be scripted.
FAQs
Parses through OSM changeset discussion and notes files and puts them into a postgres db
The npm package osm-comments-notes-parser receives a total of 2 weekly downloads. As such, osm-comments-notes-parser popularity was classified as not popular.
We found that osm-comments-notes-parser demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.