From 98861a6bbd23ac23bc21fd8200274106befe1828 Mon Sep 17 00:00:00 2001 From: veeso Date: Thu, 4 Mar 2021 15:05:27 +0100 Subject: [PATCH 1/2] Working on 0.4.0 --- CHANGELOG.md | 7 +++++++ Cargo.lock | 2 +- Cargo.toml | 2 +- README.md | 14 +++++++------- dist/pkgs/arch/.SRCINFO | 4 ++-- dist/pkgs/arch/PKGBUILD | 2 +- 6 files changed, 19 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3635b1d..504f975 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ # Changelog - [Changelog](#changelog) + - [0.4.0](#040) - [0.3.3](#033) - [0.3.2](#032) - [0.3.1](#031) @@ -13,6 +14,12 @@ --- +## 0.4.0 + +Released on FIXME: date + +- REPL + ## 0.3.3 Released on 28/02/2021 diff --git a/Cargo.lock b/Cargo.lock index 763c5d5..0cd4636 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1382,7 +1382,7 @@ dependencies = [ [[package]] name = "termscp" -version = "0.3.3" +version = "0.4.0" dependencies = [ "bitflags", "bytesize", diff --git a/Cargo.toml b/Cargo.toml index 998fdbb..6800693 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "termscp" -version = "0.3.3" +version = "0.4.0" authors = ["Christian Visintin"] edition = "2018" license = "GPL-3.0" diff --git a/README.md b/README.md index 3fd658e..63c52c6 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,12 @@ # TermSCP -[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0) [![Stars](https://img.shields.io/github/stars/veeso/termscp.svg)](https://github.com/veeso/termscp) [![Downloads](https://img.shields.io/crates/d/termscp.svg)](https://crates.io/crates/termscp) [![Crates.io](https://img.shields.io/badge/crates.io-v0.3.3-orange.svg)](https://crates.io/crates/termscp) [![Docs](https://docs.rs/termscp/badge.svg)](https://docs.rs/termscp) +[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0) [![Stars](https://img.shields.io/github/stars/veeso/termscp.svg)](https://github.com/veeso/termscp) [![Downloads](https://img.shields.io/crates/d/termscp.svg)](https://crates.io/crates/termscp) [![Crates.io](https://img.shields.io/badge/crates.io-v0.4.0-orange.svg)](https://crates.io/crates/termscp) [![Docs](https://docs.rs/termscp/badge.svg)](https://docs.rs/termscp) [![Build](https://github.com/veeso/termscp/workflows/Linux/badge.svg)](https://github.com/veeso/termscp/actions) [![Build](https://github.com/veeso/termscp/workflows/MacOS/badge.svg)](https://github.com/veeso/termscp/actions) [![Build](https://github.com/veeso/termscp/workflows/Windows/badge.svg)](https://github.com/veeso/termscp/actions) [![codecov](https://codecov.io/gh/veeso/termscp/branch/main/graph/badge.svg?token=au67l7nQah)](https://codecov.io/gh/veeso/termscp) ~ Basically, WinSCP on a terminal ~ Developed by Christian Visintin -Current version: 0.3.3 (28/02/2021) +Current version: 0.4.0 FIXME: (28/02/2021) --- @@ -98,8 +98,8 @@ Requirements: ### Deb package 📦 -Get `deb` package from [HERE](https://github.com/veeso/termscp/releases/latest/download/termscp_0.3.3_amd64.deb) -or run `wget https://github.com/veeso/termscp/releases/latest/download/termscp_0.3.3_amd64.deb` +Get `deb` package from [HERE](https://github.com/veeso/termscp/releases/latest/download/termscp_0.4.0_amd64.deb) +or run `wget https://github.com/veeso/termscp/releases/latest/download/termscp_0.4.0_amd64.deb` then install through dpkg: @@ -111,8 +111,8 @@ gdebi termscp_*.deb ### RPM package 📦 -Get `rpm` package from [HERE](https://github.com/veeso/termscp/releases/latest/download/termscp-0.3.3-1.x86_64.rpm) -or run `wget https://github.com/veeso/termscp/releases/latest/download/termscp-0.3.3-1.x86_64.rpm` +Get `rpm` package from [HERE](https://github.com/veeso/termscp/releases/latest/download/termscp-0.4.0-1.x86_64.rpm) +or run `wget https://github.com/veeso/termscp/releases/latest/download/termscp-0.4.0-1.x86_64.rpm` then install through rpm: @@ -138,7 +138,7 @@ Start PowerShell as administrator and run choco install termscp ``` -Alternatively you can download the ZIP file from [HERE](https://github.com/veeso/termscp/releases/latest/download/termscp.0.3.3.nupkg) +Alternatively you can download the ZIP file from [HERE](https://github.com/veeso/termscp/releases/latest/download/termscp.0.4.0.nupkg) and then with PowerShell started with administrator previleges, run: diff --git a/dist/pkgs/arch/.SRCINFO b/dist/pkgs/arch/.SRCINFO index 526a0fa..5054c02 100644 --- a/dist/pkgs/arch/.SRCINFO +++ b/dist/pkgs/arch/.SRCINFO @@ -1,13 +1,13 @@ pkgbase = termscp pkgdesc = TermSCP is a SCP/SFTP/FTPS client for command line with an integrated UI to explore the remote file system. Basically WinSCP on a terminal. - pkgver = 0.3.3 + pkgver = 0.4.0 pkgrel = 1 url = https://github.com/veeso/termscp arch = x86_64 license = GPL-3.0 provides = termscp options = strip - source = https://github.com/veeso/termscp/releases/download/v0.3.3/termscp-0.3.3-x86_64.tar.gz + source = https://github.com/veeso/termscp/releases/download/v0.4.0/termscp-0.4.0-x86_64.tar.gz sha256sums = 7a8c70add8306a2cb3f2ee1d075a00fef143fc9aad4199797c7462bab1649296 pkgname = termscp diff --git a/dist/pkgs/arch/PKGBUILD b/dist/pkgs/arch/PKGBUILD index cab465e..45e9098 100644 --- a/dist/pkgs/arch/PKGBUILD +++ b/dist/pkgs/arch/PKGBUILD @@ -1,6 +1,6 @@ # Maintainer: Christian Visintin pkgname=termscp -pkgver=0.3.3 +pkgver=0.4.0 pkgrel=1 pkgdesc="TermSCP is a SCP/SFTP/FTPS client for command line with an integrated UI to explore the remote file system. Basically WinSCP on a terminal." url="https://github.com/veeso/termscp" From 4a8ea185e6cf77c3a99dd1d7bc086b791b4196f1 Mon Sep 17 00:00:00 2001 From: veeso Date: Thu, 4 Mar 2021 15:49:13 +0100 Subject: [PATCH 2/2] Empty structs --- src/bookmarks/serializer.rs | 2 +- src/config/serializer.rs | 2 +- src/ui/input.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bookmarks/serializer.rs b/src/bookmarks/serializer.rs index 5204b2e..6b951a4 100644 --- a/src/bookmarks/serializer.rs +++ b/src/bookmarks/serializer.rs @@ -27,7 +27,7 @@ use super::{SerializerError, SerializerErrorKind, UserHosts}; use std::io::{Read, Write}; -pub struct BookmarkSerializer {} +pub struct BookmarkSerializer; impl BookmarkSerializer { /// ### serialize diff --git a/src/config/serializer.rs b/src/config/serializer.rs index fd927c6..da7df9e 100644 --- a/src/config/serializer.rs +++ b/src/config/serializer.rs @@ -27,7 +27,7 @@ use super::{SerializerError, SerializerErrorKind, UserConfig}; use std::io::{Read, Write}; -pub struct ConfigSerializer {} +pub struct ConfigSerializer; impl ConfigSerializer { /// ### serialize diff --git a/src/ui/input.rs b/src/ui/input.rs index 87835b6..e556998 100644 --- a/src/ui/input.rs +++ b/src/ui/input.rs @@ -32,7 +32,7 @@ use std::time::Duration; /// /// InputHandler is the struct which runs a thread which waits for /// input events from the user and reports them through a receiver -pub(crate) struct InputHandler {} +pub(crate) struct InputHandler; impl InputHandler { /// ### InputHandler