{"id":37113021,"url":"https://github.com/squeeze69/dbfgo2mysql","last_synced_at":"2026-01-14T13:20:59.140Z","repository":{"id":57567333,"uuid":"84757965","full_name":"squeeze69/dbfgo2mysql","owner":"squeeze69","description":"Simple converter for a DBF file to a mariadb/mysql table","archived":false,"fork":false,"pushed_at":"2025-04-28T23:42:26.000Z","size":74,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-29T00:39:12.551Z","etag":null,"topics":["dbf","golang","import","mariadb","mysql"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/squeeze69.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-03-12T21:16:06.000Z","updated_at":"2025-04-28T23:42:29.000Z","dependencies_parsed_at":"2023-02-16T17:31:05.673Z","dependency_job_id":null,"html_url":"https://github.com/squeeze69/dbfgo2mysql","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/squeeze69/dbfgo2mysql","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squeeze69%2Fdbfgo2mysql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squeeze69%2Fdbfgo2mysql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squeeze69%2Fdbfgo2mysql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squeeze69%2Fdbfgo2mysql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/squeeze69","download_url":"https://codeload.github.com/squeeze69/dbfgo2mysql/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squeeze69%2Fdbfgo2mysql/sbom","scorecard":{"id":843317,"data":{"date":"2025-08-11","repo":{"name":"github.com/squeeze69/dbfgo2mysql","commit":"0cf9783c51dea63787b8bd959625ee1a9789692f"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.7,"checks":[{"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":"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":"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":"Code-Review","score":0,"reason":"Found 0/30 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":"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":"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":"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":"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":"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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: GNU General Public License v3.0: LICENSE:0"],"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":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v1.0.2 not signed: https://api.github.com/repos/squeeze69/dbfgo2mysql/releases/90796143","Warn: release artifact v1.0.1 not signed: https://api.github.com/repos/squeeze69/dbfgo2mysql/releases/63617961","Warn: release artifact v1.0.2 does not have provenance: https://api.github.com/repos/squeeze69/dbfgo2mysql/releases/90796143","Warn: release artifact v1.0.1 does not have provenance: https://api.github.com/repos/squeeze69/dbfgo2mysql/releases/63617961"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"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-23T20:55:57.572Z","repository_id":57567333,"created_at":"2025-08-23T20:55:57.572Z","updated_at":"2025-08-23T20:55:57.572Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28421064,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T10:47:48.104Z","status":"ssl_error","status_checked_at":"2026-01-14T10:46:19.031Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["dbf","golang","import","mariadb","mysql"],"created_at":"2026-01-14T13:20:58.141Z","updated_at":"2026-01-14T13:20:59.001Z","avatar_url":"https://github.com/squeeze69.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DBFGO2MYSQL - Squeeze69\n\n## DBF to MySql program written in [GO](https://go.dev)\n\n### License: GPLv3\n\n**BTW**: Credits to \"Squeeze69\" would be appreciated if you use this code.\n\n**There is no relation between this code and \"dbfgo\".**\n\n**NOTICE**: USE THIS CODE AT YOUR OWN RISK, NO WARRANTIES!\n\nThis could cause the end of the universe, or, worst, some bureaucratic nightmares (just kidding).\n\nTo get, this should work: go get github.com/squeeze69/dbfgo2mysql\n\nBuild: go build dbfgo2mysql.go\n\nThe name should be read: DBF, please, GO TO MYSQL! (DBF GO 2 MYSQL)\n\nIt's a simple tool to import dbf files into mysql/mariadb tables, optionally creating them.\n\nBTW: It's absolutly not as complete as the dbf2mysql written in C, so, if you need more options, please, go and find it.\nUsage:\n\n```bash\ndbfgo2mysql [flags...] profile_file dbffile table\n```\n\nThe profile_file is, actually, a simple text file, the first line is a standard go sql DSN,\nonly the first line is used, but it could change in the future.\ni.e.:\n\n```text\nuser:password@(127.0.0.1:3307)/database\n```\n\nIf you need further details, please take a look [here](https://github.com/go-sql-driver/mysql/#dsn-data-source-name).\n\nOf Course: The user MUST have grants to perform actions.\n\nThe flags, up to now, are:\n\n-abortonsqlerror : abort insertion whenever an sql error occur, **note**: error 1114 table full is an exception, it always cause an abort.\n\n-truncate : truncate table before writing\n\n-create : create table - actually, some guesswork goes on to build the \"create table ...\" statement.\n    The \"int\" types are reduced to their bare minumum for storage (i.e.: 1 digit = TINYINT,etc..)\n\n-dumpcreatetable : dumps on stdout the create table code and exit.\n\n-engine=...[default: MyIsam - if left empty - no Engine=\"...\" is used]\n\n-collate=...[default: utf8_general_ci - if left empty - no Collate=\"...\" is used]\n\n-nobigint : DONT'T use BIGINT type, even if there are more than 9 digits\n\n-insertignore : The \"INSERT IGNORE\" statement is used instead of \"INSERT \", meaning this, if there is duplicate primary key, the error\n    doesn't stop the import.\n\n-index=fieldname : Create an index on a specified field.\n\n-firstrecord=number (0 based), record to start import from\n\n-m=number of records to import, starting from the \"firstrecord\" record.\n\n-drop drop table before every action (create,truncate, insert).\n\n-verbose : verbose output\n\n-g : number of goroutines, default is 2 (or max number of cores, if it's lower), max is an hard coded 64.\n\n-q : number of records in the channel queue, default is 100, minimum is, at least equal to the number of goroutines).\n\n-readinmemory : all of the file is read in memory, it could speed things up over a network, and it's useful for files with a lot of accesses\n\nPlease, feel free to contact me for bug,suggestions and so on.\n\nSuggested development environment: [Atom](https://atom.io) with the \"go-plus\" package or [VScode](https://code.visualstudio.com/) with the \"GO\" extension.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsqueeze69%2Fdbfgo2mysql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsqueeze69%2Fdbfgo2mysql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsqueeze69%2Fdbfgo2mysql/lists"}