{"id":22311703,"url":"https://github.com/marcobarcelos/svn-polling","last_synced_at":"2026-04-25T16:33:59.515Z","repository":{"id":57375727,"uuid":"78076495","full_name":"marcobarcelos/svn-polling","owner":"marcobarcelos","description":"🕓 A SVN Log Polling mechanism for NodeJS","archived":false,"fork":false,"pushed_at":"2017-01-07T17:40:48.000Z","size":7,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-31T09:16:55.775Z","etag":null,"topics":["log","nodejs","polling","svn","svn-polling"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/marcobarcelos.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-01-05T03:42:08.000Z","updated_at":"2017-08-14T02:40:09.000Z","dependencies_parsed_at":"2022-09-14T20:50:33.936Z","dependency_job_id":null,"html_url":"https://github.com/marcobarcelos/svn-polling","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/marcobarcelos/svn-polling","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcobarcelos%2Fsvn-polling","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcobarcelos%2Fsvn-polling/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcobarcelos%2Fsvn-polling/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcobarcelos%2Fsvn-polling/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marcobarcelos","download_url":"https://codeload.github.com/marcobarcelos/svn-polling/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcobarcelos%2Fsvn-polling/sbom","scorecard":{"id":617991,"data":{"date":"2025-08-11","repo":{"name":"github.com/marcobarcelos/svn-polling","commit":"54a8f7d0698adbb8faf6ebf7d44ba01ae00cfafb"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 0/4 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: license:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":7,"reason":"3 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-776f-qx25-q3cc"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-21T04:29:51.156Z","repository_id":57375727,"created_at":"2025-08-21T04:29:51.156Z","updated_at":"2025-08-21T04:29:51.156Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32269462,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-25T09:15:33.318Z","status":"ssl_error","status_checked_at":"2026-04-25T09:15:31.997Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["log","nodejs","polling","svn","svn-polling"],"created_at":"2024-12-03T21:26:57.414Z","updated_at":"2026-04-25T16:33:59.500Z","avatar_url":"https://github.com/marcobarcelos.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# svn-polling\n\n[![npm](https://img.shields.io/npm/v/svn-polling.svg)](https://www.npmjs.com/package/svn-polling)\n![npm](https://img.shields.io/npm/l/svn-polling.svg)\n\n\u003e 🕓 A SVN Log Polling mechanism for NodeJS.\n\n## Install\n\n```\n$ npm install --save svn-polling\n```\n\nor\n\n```\n$ yarn add svn-polling\n```\n\n## Requirements\n\nYou need to have the `svn` command installed.\n\n## Usage\n\n```js\nconst SvnPolling = require('svn-polling');\n\nconst polling = new SvnPolling({\n\tremoteUrl: 'svn://your-svn-project-url.com/code/trunk'\n});\n\n// Will be called as soon as new changes are commited into the repository\npolling.on('data', (data) =\u003e {\n\tconsole.log(data);\n});\n\n// Start polling from svn log history\npolling.start();\n```\n\n**Result:**\n\n```js\n{\n  \"revision\": 2,\n  \"logs\": [\n    {\n      \"revision\": \"1\",\n      \"author\": \"marcobarcelos\",\n      \"date\": \"2017-01-05T03:29:42.036677Z\",\n      \"msg\": \"Add index.js\",\n      \"changes\": [\n        {\n          \"action\": \"A\",\n          \"path\": \"/index.js\"\n        }\n      ]\n    },\n    {\n      \"revision\": \"2\",\n      \"author\": \"marcobarcelos\",\n      \"date\": \"2017-01-05T03:30:20.881618Z\",\n      \"msg\": \"Add readme.md\",\n      \"changes\": [\n        {\n          \"action\": \"A\",\n          \"path\": \"/readme.md\"\n        }\n      ]\n    }\n  ]\n}\n```\n\n## Config\n\nYou can configure some options by passing it into the constructor:\n\n```js\nconst options = {\n\tremoteUrl: 'svn://your-svn-project-url.com/code/trunk',\n\tpollInterval: 1000,\n\tlogsLimit: 10,\n\tusername: 'marcobarcelos',\n\tpassword: 'ultrasecret'\n};\n\nconst polling = new SvnPolling(options);\n```\n\n### remoteUrl\n\nType: `string`\n\nThe remote repository's url.\n\n### pollInterval\n\nType: `number`\u003cbr\u003e\nDefault: `15000`\n\nThe interval between a svn log history fetch and another.\n\n### logsLimit\n\nType: `number`\u003cbr\u003e\nDefault: `5`\n\nHow many logs/commits to retrieve by the first time.\n\n### username\n\nType: `string`\u003cbr\u003e\nOptional *(in case authentication is not required or is already saved)*\n\nThe svn user's username.\n\n### password\n\nType: `string`\u003cbr\u003e\nOptional *(in case authentication is not required or is already saved)*\n\nThe svn user's password.\n\n## License\n\nMIT © [Marco Barcelos](http://marcobarcelos.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcobarcelos%2Fsvn-polling","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcobarcelos%2Fsvn-polling","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcobarcelos%2Fsvn-polling/lists"}