Legal, readme
This commit is contained in:
parent
c954085c4d
commit
6216d056d2
6 changed files with 5790 additions and 3 deletions
|
@ -2,6 +2,11 @@
|
||||||
name = "csql"
|
name = "csql"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
license = "CC-BY-NC-ND-4.0"
|
||||||
|
authors = ["Radovan Katrenčik"]
|
||||||
|
readme = "README.md"
|
||||||
|
publish = false
|
||||||
|
description = "An assistant tool to easily map a CSV spreadsheets collumns to a database tables' fields. Great for mass uploading products from a manufacturer provided catalog to an e-shop."
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
sqlx = { version = "0.6.2", features = [ "runtime-tokio-native-tls" , "mysql" ] }
|
sqlx = { version = "0.6.2", features = [ "runtime-tokio-native-tls" , "mysql" ] }
|
||||||
|
|
13
README.md
Normal file
13
README.md
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
#CSQL (CSV TO SQL)
|
||||||
|
An assistant tool to easily map a CSV spreadsheets collumns to a database tables' fields. Great for mass uploading products from a manufacturer provided catalog to an e-shop.
|
||||||
|
|
||||||
|
|
||||||
|
####What does it do?
|
||||||
|
- [x] Checks if all rows in a spreadsheet collumn bound to a tables field abide by the fields' rules (variable type and length), shows errors and allows to fix them easily.
|
||||||
|
For non-technical people: makes sure the spreadsheet follows some database rules and doesn't break anything :)
|
||||||
|
- [ ] Check if the database already has such an entry, eg. product with the same name exists already, and allows to updating the data to the data present in the spreadsheet.
|
||||||
|
- [ ] Input Sanitisation, eg. Simple mass text update for capitalization, Spell checking
|
||||||
|
- [ ] Create a CSV from a given Database
|
||||||
|
- [ ] Support for all major database types
|
||||||
|
- [ ] Common e-commerce platform prefabs (Opencart, Prestashop, Saleor based, Strapi based..)
|
||||||
|
- [ ] Simple Database backups and undo database updates
|
70
about.hbs
Normal file
70
about.hbs
Normal file
|
@ -0,0 +1,70 @@
|
||||||
|
<html>
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<style>
|
||||||
|
@media (prefers-color-scheme: dark) {
|
||||||
|
body {
|
||||||
|
background: #333;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
a {
|
||||||
|
color: skyblue;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.container {
|
||||||
|
font-family: sans-serif;
|
||||||
|
max-width: 800px;
|
||||||
|
margin: 0 auto;
|
||||||
|
}
|
||||||
|
.intro {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
.licenses-list {
|
||||||
|
list-style-type: none;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
.license-used-by {
|
||||||
|
margin-top: -10px;
|
||||||
|
}
|
||||||
|
.license-text {
|
||||||
|
max-height: 200px;
|
||||||
|
overflow-y: scroll;
|
||||||
|
white-space: pre-wrap;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<main class="container">
|
||||||
|
<div class="intro">
|
||||||
|
<h1>Third Party Licenses</h1>
|
||||||
|
<p>This page lists the licenses of the projects used in cargo-about.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<h2>Overview of licenses:</h2>
|
||||||
|
<ul class="licenses-overview">
|
||||||
|
{{#each overview}}
|
||||||
|
<li><a href="#{{id}}">{{name}}</a> ({{count}})</li>
|
||||||
|
{{/each}}
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h2>All license text:</h2>
|
||||||
|
<ul class="licenses-list">
|
||||||
|
{{#each licenses}}
|
||||||
|
<li class="license">
|
||||||
|
<h3 id="{{id}}">{{name}}</h3>
|
||||||
|
<h4>Used by:</h4>
|
||||||
|
<ul class="license-used-by">
|
||||||
|
{{#each used_by}}
|
||||||
|
<li><a href="{{#if crate.repository}} {{crate.repository}} {{else}} https://crates.io/crates/{{crate.name}} {{/if}}">{{crate.name}} {{crate.version}}</a></li>
|
||||||
|
{{/each}}
|
||||||
|
</ul>
|
||||||
|
<pre class="license-text">{{text}}</pre>
|
||||||
|
</li>
|
||||||
|
{{/each}}
|
||||||
|
</ul>
|
||||||
|
</main>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
16
about.toml
Normal file
16
about.toml
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
accepted = [
|
||||||
|
"MIT",
|
||||||
|
"Apache-2.0 WITH LLVM-exception",
|
||||||
|
"Apache-2.0",
|
||||||
|
"0BSD",
|
||||||
|
"BSD-3-Clause",
|
||||||
|
"ISC",
|
||||||
|
"OFL-1.1",
|
||||||
|
"BSL-1.0",
|
||||||
|
"BSD-2-Clause",
|
||||||
|
"LicenseRef-UFL-1.0",
|
||||||
|
"Zlib",
|
||||||
|
"Unicode-DFS-2016",
|
||||||
|
]
|
||||||
|
ignore-dev-dependencies = true
|
||||||
|
private = { ignore = true }
|
10
deny.toml
10
deny.toml
|
@ -6,14 +6,18 @@ default = "warn"
|
||||||
unused-allowed-license = "warn"
|
unused-allowed-license = "warn"
|
||||||
confidence-threshold = 0.95
|
confidence-threshold = 0.95
|
||||||
allow = [
|
allow = [
|
||||||
"EUPL-1.2",
|
|
||||||
"Apache-2.0 WITH LLVM-exception",
|
|
||||||
"MIT",
|
"MIT",
|
||||||
|
"Apache-2.0 WITH LLVM-exception",
|
||||||
"Apache-2.0",
|
"Apache-2.0",
|
||||||
"0BSD",
|
"0BSD",
|
||||||
"BSD-3-Clause",
|
"BSD-3-Clause",
|
||||||
"ISC",
|
"ISC",
|
||||||
"EUPL-1.2"
|
"OFL-1.1",
|
||||||
|
"BSL-1.0",
|
||||||
|
"BSD-2-Clause",
|
||||||
|
"LicenseRef-UFL-1.0",
|
||||||
|
"Zlib",
|
||||||
|
"Unicode-DFS-2016",
|
||||||
]
|
]
|
||||||
[bans]
|
[bans]
|
||||||
multiple-versions="allow"
|
multiple-versions="allow"
|
||||||
|
|
5679
licenses.html
Normal file
5679
licenses.html
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue