From eb17c779e86668d64a87ce69b88145ba985c9497 Mon Sep 17 00:00:00 2001 From: abraunegg Date: Sun, 10 Mar 2024 11:34:38 +1100 Subject: [PATCH] Release files for 2.5.0-rc1 * Release files for 2.5.0-rc1 --- configure | 20 +++++++++---------- configure.ac | 2 +- ...ve-2.4.25.ebuild => onedrive-2.5.0.ebuild} | 0 contrib/spec/onedrive.spec.in | 2 +- src/config.d | 7 ++----- src/main.d | 3 +-- 6 files changed, 15 insertions(+), 19 deletions(-) rename contrib/gentoo/{onedrive-2.4.25.ebuild => onedrive-2.5.0.ebuild} (100%) diff --git a/configure b/configure index 8c896eaed..ef0d5acc1 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.5.0-alpha-5. +# Generated by GNU Autoconf 2.69 for onedrive v2.5.0-rc1. # # Report bugs to . # @@ -579,8 +579,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='onedrive' PACKAGE_TARNAME='onedrive' -PACKAGE_VERSION='v2.5.0-alpha-5' -PACKAGE_STRING='onedrive v2.5.0-alpha-5' +PACKAGE_VERSION='v2.5.0-rc1' +PACKAGE_STRING='onedrive v2.5.0-rc1' 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.5.0-alpha-5 to adapt to many kinds of systems. +\`configure' configures onedrive v2.5.0-rc1 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.5.0-alpha-5:";; + short | recursive ) echo "Configuration of onedrive v2.5.0-rc1:";; 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.5.0-alpha-5 +onedrive configure v2.5.0-rc1 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.5.0-alpha-5, which was +It was created by onedrive $as_me v2.5.0-rc1, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2162,7 +2162,7 @@ fi -PACKAGE_DATE="January 2024" +PACKAGE_DATE="March 2024" @@ -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.5.0-alpha-5, which was +This file was extended by onedrive $as_me v2.5.0-rc1, 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.5.0-alpha-5 +onedrive config.status v2.5.0-rc1 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff --git a/configure.ac b/configure.ac index 69b9227b4..e4c9ce9be 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.5.0-alpha-5], [https://github.com/abraunegg/onedrive], [onedrive]) +AC_INIT([onedrive],[v2.5.0-rc1], [https://github.com/abraunegg/onedrive], [onedrive]) AC_CONFIG_SRCDIR([src/main.d]) diff --git a/contrib/gentoo/onedrive-2.4.25.ebuild b/contrib/gentoo/onedrive-2.5.0.ebuild similarity index 100% rename from contrib/gentoo/onedrive-2.4.25.ebuild rename to contrib/gentoo/onedrive-2.5.0.ebuild diff --git a/contrib/spec/onedrive.spec.in b/contrib/spec/onedrive.spec.in index 2b4a22e9b..eca723bb9 100644 --- a/contrib/spec/onedrive.spec.in +++ b/contrib/spec/onedrive.spec.in @@ -12,7 +12,7 @@ %endif Name: onedrive -Version: 2.4.25 +Version: 2.5.0 Release: 1%{?dist} Summary: Microsoft OneDrive Client Group: System Environment/Network diff --git a/src/config.d b/src/config.d index e94e9b1a1..d22251f5e 100644 --- a/src/config.d +++ b/src/config.d @@ -56,9 +56,7 @@ class ApplicationConfig { // Comply with OneDrive traffic decoration requirements // https://docs.microsoft.com/en-us/sharepoint/dev/general-development/how-to-avoid-getting-throttled-or-blocked-in-sharepoint-online // - Identify as ISV and include Company Name, App Name separated by a pipe character and then adding Version number separated with a slash character - - //immutable string defaultUserAgent = isvTag ~ "|" ~ companyName ~ "|" ~ appTitle ~ "/" ~ strip(import("version")); - immutable string defaultUserAgent = isvTag ~ "|" ~ companyName ~ "|" ~ appTitle ~ "/" ~ "v2.5.0-alpha-5"; + immutable string defaultUserAgent = isvTag ~ "|" ~ companyName ~ "|" ~ appTitle ~ "/" ~ strip(import("version")); // HTTP Struct items, used for configuring HTTP() // Curl Timeout Handling @@ -97,8 +95,7 @@ class ApplicationConfig { immutable string cnGraphEndpoint = "https://microsoftgraph.chinacloudapi.cn"; // Application Version - //immutable string applicationVersion = "onedrive " ~ strip(import("version")); - immutable string applicationVersion = "v2.5.0-alpha-5" ~ " GitHub version: " ~ strip(import("version")); + immutable string applicationVersion = "onedrive " ~ strip(import("version")); // Application items that depend on application run-time environment, thus cannot be immutable // Public variables diff --git a/src/main.d b/src/main.d index 21e20b5f9..1aa806cfb 100644 --- a/src/main.d +++ b/src/main.d @@ -80,8 +80,7 @@ int main(string[] cliArgs) { bool displaySyncOptions = false; // Application Version - //immutable string applicationVersion = "onedrive " ~ strip(import("version")); - immutable string applicationVersion = "v2.5.0-alpha-5" ~ " GitHub version: " ~ strip(import("version")); + immutable string applicationVersion = "onedrive " ~ strip(import("version")); // Define 'exit' and 'failure' scopes scope(exit) {