Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/no totp command #16

Merged
merged 5 commits into from
Dec 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@
"request": "launch",
"name": "Launch",
"program": "${workspaceFolder}/target/debug/git-lfs-synology",
"args": [
"login",
"--url",
"https://e4e-nas.ucsd.edu:6021",
"--user",
"ccrutchf"
]
}
]
}
29 changes: 28 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,29 @@

All notable changes to this project will be documented in this file.

## v0.1.0
## [0.2.0] - 2024-12-07

### 🚀 Features

- Additional readme formatting for improve readability
- Windows install script
- Credential manager now can store a device id
- Use device id so that we do not need to provide a totp

### 🐛 Bug Fixes

- Readme formatting
- Url in install script
- Git-lfs-synology vs git-lfs-login
- Set the user path variable, not the system
- Install script login issue
- Use a cache bust to prevent github from returning a cached result
- Support powershell 5.1
- Platform instead of osplatform for install script
- Eq win
- Don't call method that doesn't exist.

## [0.1.0] - 2024-12-01

### 🚀 Features

Expand Down Expand Up @@ -68,6 +90,8 @@ All notable changes to this project will be documented in this file.
- Use docker so that we can build both amd64 and aarch64 for ubuntu
- We should check in cargo.lock for binaries
- Support --version
- Add changelog and license
- Run clippy as part of workflow

### 🐛 Bug Fixes

Expand Down Expand Up @@ -119,6 +143,8 @@ All notable changes to this project will be documented in this file.
- Use bash instead of sh
- Run the container and mount the repo
- Copy the files into the docker container during build
- Update changelog
- Install clippy from rustup

### 💼 Other

Expand All @@ -130,6 +156,7 @@ All notable changes to this project will be documented in this file.

- Code cleanup
- Remove an ignore warn
- Appease clippy

### ◀️ Revert

Expand Down
37 changes: 34 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "git-lfs-synology"
version = "0.1.0"
version = "0.2.0"
edition = "2021"

[dependencies]
Expand All @@ -13,6 +13,7 @@ educe = "0.6.0"
futures-macro = "0.3.31"
futures-util = "0.3.31"
gix-config = "0.42.0"
hostname = "0.4.0"
keyring = { version = "3.6.1", features = ["apple-native", "windows-native", "sync-secret-service"] }
named-lock = "0.4.1"
num-derive = "0.4.2"
Expand Down
2 changes: 1 addition & 1 deletion scripts/install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ function Invoke-InstallScript {

# Determine OS and Architecture
$osPlatform = [System.Runtime.InteropServices.RuntimeInformation]::OSDescription
$architecture = [System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture

# Adjust the platform and architecture for the API call
$platform = switch -Wildcard ($osPlatform) {
Expand All @@ -34,6 +33,7 @@ function Invoke-InstallScript {
}
else {
# Not Windows
$architecture = [System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture
$arch = switch ($architecture) {
"X64" { "x86_64" }
"Arm64" { "aarch64" }
Expand Down
Loading
Loading