From 0774a8fd06c4b8fc9af2a7ac0fdfd04efd304c53 Mon Sep 17 00:00:00 2001 From: abraunegg Date: Fri, 19 Feb 2021 19:37:34 +1100 Subject: [PATCH] Release files for 2.4.10 (#1283) * Release files for 2.4.10 --- CHANGELOG.md | 22 ++++++++++++ configure | 20 +++++------ configure.ac | 2 +- ...ve-2.4.9.ebuild => onedrive-2.4.10.ebuild} | 0 contrib/spec/onedrive.spec.in | 2 +- docs/INSTALL.md | 32 +++++++++++------- docs/images/cross.gif | Bin 0 -> 3635 bytes docs/images/tick.gif | Bin 0 -> 3479 bytes 8 files changed, 53 insertions(+), 25 deletions(-) rename contrib/gentoo/{onedrive-2.4.9.ebuild => onedrive-2.4.10.ebuild} (100%) create mode 100644 docs/images/cross.gif create mode 100644 docs/images/tick.gif diff --git a/CHANGELOG.md b/CHANGELOG.md index a89f4428..b32fb98e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,28 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## 2.4.10 - 2021-2-19 +### Fixed +* Catch database assertion when item path cannot be calculated +* Fix alpine Docker build so it uses the same golang alpine version +* Search all distinct drive id's rather than just default drive id for --get-file-link +* Use correct driveId value to query for changes when using --single-directory +* Improve upload handling of files for SharePoint sites and detecting when SharePoint modifies the file post upload +* Correctly handle '~' when present in 'log_dir' configuration option +* Fix logging output when handing downloaded new files +* Fix to use correct path offset for sync_list exclusion matching + +### Added +* Add upload speed metrics when files are uploaded and clarify that 'data to transfer' is what is needed to be downloaded from OneDrive +* Add new config option to rate limit connection to OneDrive +* Support new file maximum upload size of 250GB +* Support sync_list matching full path root wildcard with exclusions to simplify sync_list configuration + +### Updated +* Rename Office365.md --> SharePoint-Shared-Libraries.md which better describes this document +* Updated Dockerfile config for arm64 +* Updated documentation (various) + ## 2.4.9 - 2020-12-27 ### Fixed * Fix to handle case where API provided deltaLink generates a further API error diff --git a/configure b/configure index 573ed8d7..f2cbeb66 100755 --- a/configure +++ b/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for onedrive v2.4.10-dev. +# Generated by GNU Autoconf 2.69 for onedrive v2.4.10. # # Report bugs to . # @@ -579,8 +579,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='onedrive' PACKAGE_TARNAME='onedrive' -PACKAGE_VERSION='v2.4.10-dev' -PACKAGE_STRING='onedrive v2.4.10-dev' +PACKAGE_VERSION='v2.4.10' +PACKAGE_STRING='onedrive v2.4.10' PACKAGE_BUGREPORT='https://github.com/abraunegg/onedrive' PACKAGE_URL='' @@ -1219,7 +1219,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures onedrive v2.4.10-dev to adapt to many kinds of systems. +\`configure' configures onedrive v2.4.10 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1280,7 +1280,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of onedrive v2.4.10-dev:";; + short | recursive ) echo "Configuration of onedrive v2.4.10:";; esac cat <<\_ACEOF @@ -1393,7 +1393,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -onedrive configure v2.4.10-dev +onedrive configure v2.4.10 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1410,7 +1410,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by onedrive $as_me v2.4.10-dev, which was +It was created by onedrive $as_me v2.4.10, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2162,7 +2162,7 @@ fi -PACKAGE_DATE="December 2020" +PACKAGE_DATE="February 2021" @@ -3159,7 +3159,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by onedrive $as_me v2.4.10-dev, which was +This file was extended by onedrive $as_me v2.4.10, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -3212,7 +3212,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -onedrive config.status v2.4.10-dev +onedrive config.status v2.4.10 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff --git a/configure.ac b/configure.ac index 6a0ca02a..05951249 100644 --- a/configure.ac +++ b/configure.ac @@ -9,7 +9,7 @@ dnl - commit the changed files (configure.ac, configure) dnl - tag the release AC_PREREQ([2.69]) -AC_INIT([onedrive],[v2.4.10-dev], [https://github.com/abraunegg/onedrive], [onedrive]) +AC_INIT([onedrive],[v2.4.10], [https://github.com/abraunegg/onedrive], [onedrive]) AC_CONFIG_SRCDIR([src/main.d]) diff --git a/contrib/gentoo/onedrive-2.4.9.ebuild b/contrib/gentoo/onedrive-2.4.10.ebuild similarity index 100% rename from contrib/gentoo/onedrive-2.4.9.ebuild rename to contrib/gentoo/onedrive-2.4.10.ebuild diff --git a/contrib/spec/onedrive.spec.in b/contrib/spec/onedrive.spec.in index a4ffc7e5..ca7861ad 100644 --- a/contrib/spec/onedrive.spec.in +++ b/contrib/spec/onedrive.spec.in @@ -6,7 +6,7 @@ %endif Name: onedrive -Version: 2.4.9 +Version: 2.4.10 Release: 1%{?dist} Summary: Microsoft OneDrive Client Group: System Environment/Network diff --git a/docs/INSTALL.md b/docs/INSTALL.md index 9a6b9ead..c8295cbb 100644 --- a/docs/INSTALL.md +++ b/docs/INSTALL.md @@ -1,19 +1,19 @@ -# Building and Installing the OneDrive Free Client +# Installing or Building from source the OneDrive Client for Linux -## Linux Packages +## Install from Distribution Packages This project has been packaged for the following Linux distributions: -| Distribution | Package Name & Package Link | i686 | x86_64 | ARMHF | AARCH64 | Extra Details | +| Distribution | Package Name & Package Link |  i686  | x86_64 | ARMHF | AARCH64 | Extra Details | |---------------------------------|------------------------------------------------------------------------------|:----:|:------:|:-----:|:-------:|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| Arch Linux

Manjaro Linux | [onedrive-abraunegg](https://aur.archlinux.org/packages/onedrive-abraunegg/) | X | X | X | X | pamac build onedrive-abraunegg

**Note:** If asked regarding a provider for 'd-runtime' and 'd-compiler', select 'liblphobos' and 'ldc' -| Debian | [onedrive](https://packages.debian.org/sid/net/onedrive) | X | X | X | X | | -| Fedora | [onedrive](https://koji.fedoraproject.org/koji/packageinfo?packageID=26044) | X | X | X | X | | -| Gentoo | [onedrive](https://gpo.zugaina.org/net-misc/onedrive) | X | X | | | | -| NixOS | onedrive | | | | | Use package `onedrive` either by adding it to `configuration.nix` or by using the command `nix-env -iA .onedrive`. This does not install a service. To install a service, use unstable channel (will stabilize in 20.09) and add `services.onedrive.enable=true` in `configuration.nix`. You can also add a custom package using the `services.onedrive.package` option (recommended since package lags upstream). Enabling the service installs a default package too (based on the channel). You can also add multiple onedrive accounts trivially, see [documentation](https://github.com/NixOS/nixpkgs/pull/77734#issuecomment-575874225). | -| openSUSE | [onedrive](https://software.opensuse.org/package/onedrive) | X | X | | | | -| Slackware | [onedrive](https://slackbuilds.org/repository/14.2/network/onedrive/) | X | X | | | | -| Solus | [onedrive](https://dev.getsol.us/search/query/FB7PIf1jG9Z9/#R) | X | X | | | | -| Ubuntu | [onedrive](https://launchpad.net/~yann1ck/+archive/ubuntu/onedrive) | | X | | | Ubuntu PPA Archive | +| Arch Linux

Manjaro Linux | [onedrive-abraunegg](https://aur.archlinux.org/packages/onedrive-abraunegg/) |supported|supported|supported|supported| Install via: `pamac build onedrive-abraunegg` from the Arch Linux User Repository (AUR)

**Note:** If asked regarding a provider for 'd-runtime' and 'd-compiler', select 'liblphobos' and 'ldc'

**Note:** System must have at least 1GB of memory & 1GB swap space +| Debian | [onedrive](https://packages.debian.org/sid/net/onedrive) |supported|supported|supported|supported| | +| Fedora | [onedrive](https://koji.fedoraproject.org/koji/packageinfo?packageID=26044) |supported|supported|supported|supported| | +| Gentoo | [onedrive](https://gpo.zugaina.org/net-misc/onedrive) |supported|supported|not_supported|not_supported| | +| NixOS | onedrive |not_supported|supported|not_supported|not_supported| Use package `onedrive` either by adding it to `configuration.nix` or by using the command `nix-env -iA .onedrive`. This does not install a service. To install a service, use unstable channel (will stabilize in 20.09) and add `services.onedrive.enable=true` in `configuration.nix`. You can also add a custom package using the `services.onedrive.package` option (recommended since package lags upstream). Enabling the service installs a default package too (based on the channel). You can also add multiple onedrive accounts trivially, see [documentation](https://github.com/NixOS/nixpkgs/pull/77734#issuecomment-575874225). | +| openSUSE | [onedrive](https://software.opensuse.org/package/onedrive) |supported|supported|not_supported|not_supported| | +| Slackware | [onedrive](https://slackbuilds.org/repository/14.2/network/onedrive/) |supported|supported|not_supported|not_supported| | +| Solus | [onedrive](https://dev.getsol.us/search/query/FB7PIf1jG9Z9/#R) |supported|supported|not_supported|not_supported| | +| Ubuntu | [onedrive](https://launchpad.net/~yann1ck/+archive/ubuntu/onedrive) |not_supported|supported|not_supported|not_supported| Install via the Ubuntu PPA Archive:

`sudo add-apt-repository ppa:yann1ck/onedrive`
`sudo apt-get update`
`sudo apt install onedrive`| #### Important Note: Distribution packages may be of an older release when compared to the latest release that is [available](https://github.com/abraunegg/onedrive/releases). If a package is out of date, please contact the package maintainer for resolution. @@ -30,7 +30,7 @@ Whilst there are [onedrive](https://packages.ubuntu.com/search?keywords=onedrive If you wish to change this situation so that you can just use 'apt install onedrive', consider becoming the Ubuntu package maintainer and contribute back to the community. -## Build Requirements +## Building from Source High Level Requirements * Build environment must have at least 1GB of memory & 1GB swap space * [libcurl](http://curl.haxx.se/libcurl/) * [SQLite 3](https://www.sqlite.org/) >= 3.7.15 @@ -287,6 +287,12 @@ sudo zypper install libnotify-devel ``` ## Compilation & Installation +### High Level Steps +1. Install the platfrom dependancies for your Linux OS +2. Activate your DMD or LDC compiler +3. Clone the GitHub repository, run configure and make, then install +4. Deactivate your DMD or LDC compiler + ### Building using DMD Reference Compiler Before cloning and compiling, if you have installed DMD via curl for your OS, you will need to activate DMD as per example below: ```text diff --git a/docs/images/cross.gif b/docs/images/cross.gif new file mode 100644 index 0000000000000000000000000000000000000000..3bc5ff594bc59fdfe5f6971cd1154b4a6ffaadfc GIT binary patch literal 3635 zcmW-gXv*ovWdH?6(p{?TulMB48*n4u(Zt5&^AjgY_X=P>8iNp5@w~Z70rsa z7maJ{AST&j;kcI-nmVq9nxiRl-^@E7{=f6-e?Fa{kU+LqoF~8pW&q&MA`6{PtDBq} z2n_kiuz|I@k)x?4p`r7AUuPYB4%6@6j%H`SJ$kf_ zVXI!j)atZvt!?H$ejI6h{>7K0y!f9ddAUi?NYdWme{^;w2XMarYNtpQ9)9B^(f*1JF!TF1~&un|gVC=R}?kj#a zzg>XmGKi$nH?Nh}jP8?=?%K5+d#B%*T21|41?%R%aC!ZL*xIAVv|8=p)e7zK$gBPP zM;<@xZ>X2<+5O4IEuYDH6c{)M>&B}po1yd>^_SM2yFZ16RxhFJv~%Oh`!v_D)~)iL z*Umkr(-*XGyNzR;fYnv!@zTnJ<{DQx8@)o{NoHSeX<;j!2>lH(h5rYL{on~zO z?!7sMqWQOzbrBJB!$Yuc_U_>$DpBtIiQ@wi(GTd1?~?LPJKL|3VZ|h}+|ge1^3}r7 zz{kLl-Yb{CLQwZvac@vTF5s)622a3-J8R+`>ZN?u7Y~@h8sCZG~qiVz&+|n>u9=z61p; zmNFjN+1&T=_;RlJBa8KS{i~J$-gxQ7uO%0+1_%8;Jp9zorrD11?Lx`7h%FCYUG63y z7}$T{dx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