Skip to content

Commit 56ea459

Browse files
committed
first commit
0 parents  commit 56ea459

22 files changed

+5892
-0
lines changed

.eslintrc.json

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"env": {
3+
"es2020": true,
4+
"node": true,
5+
"mocha": true
6+
},
7+
"extends": ["eslint:recommended"],
8+
"parserOptions": {
9+
"ecmaVersion": 11,
10+
"sourceType": "module"
11+
},
12+
"rules": {},
13+
"plugins": []
14+
}

.gitignore

+190
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,190 @@
1+
# Created by https://www.toptal.com/developers/gitignore/api/node
2+
# Edit at https://www.toptal.com/developers/gitignore?templates=node
3+
4+
### Node ###
5+
# Logs
6+
logs/*.json
7+
*.log
8+
npm-debug.log*
9+
yarn-debug.log*
10+
yarn-error.log*
11+
lerna-debug.log*
12+
.pnpm-debug.log*
13+
14+
# Diagnostic reports (https://nodejs.org/api/report.html)
15+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
16+
17+
# Runtime data
18+
pids
19+
*.pid
20+
*.seed
21+
*.pid.lock
22+
23+
# Directory for instrumented libs generated by jscoverage/JSCover
24+
lib-cov
25+
26+
# Coverage directory used by tools like istanbul
27+
coverage
28+
*.lcov
29+
30+
# nyc test coverage
31+
.nyc_output
32+
33+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
34+
.grunt
35+
36+
# Bower dependency directory (https://bower.io/)
37+
bower_components
38+
39+
# node-waf configuration
40+
.lock-wscript
41+
42+
# Compiled binary addons (https://nodejs.org/api/addons.html)
43+
build/Release
44+
45+
# Dependency directories
46+
node_modules/
47+
jspm_packages/
48+
49+
# Snowpack dependency directory (https://snowpack.dev/)
50+
web_modules/
51+
52+
# TypeScript cache
53+
*.tsbuildinfo
54+
55+
# Optional npm cache directory
56+
.npm
57+
58+
# Optional eslint cache
59+
.eslintcache
60+
61+
# Optional stylelint cache
62+
.stylelintcache
63+
64+
# Microbundle cache
65+
.rpt2_cache/
66+
.rts2_cache_cjs/
67+
.rts2_cache_es/
68+
.rts2_cache_umd/
69+
70+
# Optional REPL history
71+
.node_repl_history
72+
73+
# Output of 'npm pack'
74+
*.tgz
75+
76+
# Yarn Integrity file
77+
.yarn-integrity
78+
79+
# dotenv environment variable files
80+
.env
81+
.env.development.local
82+
.env.test.local
83+
.env.production.local
84+
.env.local
85+
86+
# parcel-bundler cache (https://parceljs.org/)
87+
.cache
88+
.parcel-cache
89+
90+
# Next.js build output
91+
.next
92+
out
93+
94+
# Nuxt.js build / generate output
95+
.nuxt
96+
dist
97+
98+
# Gatsby files
99+
.cache/
100+
# Comment in the public line in if your project uses Gatsby and not Next.js
101+
# https://nextjs.org/blog/next-9-1#public-directory-support
102+
# public
103+
104+
# vuepress build output
105+
.vuepress/dist
106+
107+
# vuepress v2.x temp and cache directory
108+
.temp
109+
110+
# Docusaurus cache and generated files
111+
.docusaurus
112+
113+
# Serverless directories
114+
.serverless/
115+
116+
# FuseBox cache
117+
.fusebox/
118+
119+
# DynamoDB Local files
120+
.dynamodb/
121+
122+
# TernJS port file
123+
.tern-port
124+
125+
# Stores VSCode versions used for testing VSCode extensions
126+
.vscode-test
127+
128+
# yarn v2
129+
.yarn/cache
130+
.yarn/unplugged
131+
.yarn/build-state.yml
132+
.yarn/install-state.gz
133+
.pnp.*
134+
135+
### Node Patch ###
136+
# Serverless Webpack directories
137+
.webpack/
138+
139+
# Optional stylelint cache
140+
141+
# SvelteKit build / generate output
142+
.svelte-kit
143+
144+
# End of https://www.toptal.com/developers/gitignore/api/node
145+
146+
*.cache.json
147+
config.json
148+
149+
# Created by https://www.toptal.com/developers/gitignore/api/macos
150+
# Edit at https://www.toptal.com/developers/gitignore?templates=macos
151+
152+
### macOS ###
153+
# General
154+
.DS_Store
155+
.AppleDouble
156+
.LSOverride
157+
158+
# Icon must end with two \r
159+
Icon
160+
161+
162+
# Thumbnails
163+
._*
164+
165+
# Files that might appear in the root of a volume
166+
.DocumentRevisions-V100
167+
.fseventsd
168+
.Spotlight-V100
169+
.TemporaryItems
170+
.Trashes
171+
.VolumeIcon.icns
172+
.com.apple.timemachine.donotpresent
173+
174+
# Directories potentially created on remote AFP share
175+
.AppleDB
176+
.AppleDesktop
177+
Network Trash Folder
178+
Temporary Items
179+
.apdisk
180+
181+
### macOS Patch ###
182+
# iCloud generated files
183+
*.icloud
184+
185+
# End of https://www.toptal.com/developers/gitignore/api/macos
186+
187+
*.helper.js
188+
config.bisync.json
189+
config.json
190+
config-test*.json

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# sclone

config.default.json

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"mode": "bidirectional",
3+
"delete": false,
4+
"logSync": false,
5+
"cacheFilename": "listFiles.cache.json",
6+
"cron": "*/5 * * * *",
7+
"integrityCheck": false,
8+
"source": {
9+
"name" : "swift",
10+
"authUrl" : "https://auth.cloud.ovh.net/v3",
11+
"username" : "",
12+
"password" : "",
13+
"region" : "",
14+
"bucket" : ""
15+
},
16+
"target": {
17+
"name" : "s3",
18+
"accessKeyId" : "access-key-id",
19+
"secretAccessKey": "secret-access-key",
20+
"url" : "s3.gra.first.cloud.test",
21+
"region" : "gra",
22+
"bucket" : ""
23+
}
24+
}

config.test-s3-swift.json

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"test": true,
3+
"mode": "bidirectional",
4+
"delete": false,
5+
"cacheFilename": "listFiles.cache.json",
6+
"cron": "*/5 * * * *",
7+
"integrityCheck": false,
8+
"target": {
9+
"name" : "swift",
10+
"authUrl" : "https://auth.cloud.ovh.net/v3",
11+
"username" : "User-test-1234",
12+
"password" : "Password-12345",
13+
"tenantName": "Tenant-1234",
14+
"region" : "GRA",
15+
"bucket" : "invoices"
16+
},
17+
"source": {
18+
"name": "s3",
19+
"accessKeyId" : "access-key-id",
20+
"secretAccessKey": "secret-access-key",
21+
"url" : "s3.gra.first.cloud.test",
22+
"region" : "gra",
23+
"bucket" : "invoices"
24+
}
25+
}

config.test-swift-s3.json

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"test": true,
3+
"mode": "bidirectional",
4+
"cacheFilename": "listFiles.cache.json",
5+
"cron": "*/5 * * * *",
6+
"integrityCheck": false,
7+
"source": {
8+
"name": "swift",
9+
"authUrl": "https://auth.cloud.ovh.net/v3",
10+
"username": "User-test-1234",
11+
"password": "Password-12345",
12+
"tenantName": "Tenant-1234",
13+
"region": "GRA",
14+
"bucket": "invoices"
15+
},
16+
"target": {
17+
"name": "s3",
18+
"accessKeyId" : "access-key-id",
19+
"secretAccessKey": "secret-access-key",
20+
"url" : "s3.gra.first.cloud.test",
21+
"region" : "gra",
22+
"bucket" : "invoices"
23+
}
24+
}

0 commit comments

Comments
 (0)