backintime icon indicating copy to clipboard operation
backintime copied to clipboard

Rename the "Main profile"

Open jim-moe opened this issue 1 year ago • 2 comments

opensuse tumbleweed and LEAP 15.5 python 3.11.4 and 3.6.15 BiT installed from main openSUSE repo.

How do I rename profiles? In particular "Main Profile?" That title conveys almost nothing. Other profiles I would like to rename to a more enlightening title.

(Note: My attempts to add a file in the file area below all failed. Used File Upload and drag-n-drop.) Diagnostic output for tumbleweed.

$ backintime --diagnostics
{
    "backintime": {
        "name": "Back In Time",
        "version": "1.3.3",
        "latest-config-version": 6,
        "local-config-file": "/home/UsernameReplaced/.config/backintime/config",
        "local-config-file-found": true,
        "global-config-file": "/etc/backintime/config",
        "global-config-file-found": false,
        "started-from": "/usr/share/backintime/common",
        "running-as-root": false,
        "user-callback": "/home/UsernameReplaced/.config/backintime/user-callback",
        "keyring-supported": false
    },
    "host-setup": {
        "platform": "Linux-6.4.6-1-default-x86_64-with-glibc2.37",
        "system": "Linux #1 SMP PREEMPT_DYNAMIC Tue Jul 25 04:42:30 UTC 2023 (55520bc)",
        "os-release": {
            "NAME": "openSUSE Tumbleweed",
            "ID": "opensuse-tumbleweed",
            "PRETTY_NAME": "openSUSE Tumbleweed",
            "ID_LIKE": "opensuse suse",
            "VERSION_ID": "20230804",
            "ANSI_COLOR": "0;32",
            "CPE_NAME": "cpe:/o:opensuse:tumbleweed:20230804",
            "BUG_REPORT_URL": "https://bugzilla.opensuse.org",
            "SUPPORT_URL": "https://bugs.opensuse.org",
            "HOME_URL": "https://www.opensuse.org",
            "DOCUMENTATION_URL": "https://en.opensuse.org/Portal:Tumbleweed",
            "LOGO": "distributor-logo-Tumbleweed"
        },
        "display-system": "wayland",
        "locale": "en_US, UTF-8",
        "PATH": "/home/UsernameReplaced/.local/bin:/home/UsernameReplaced/bin:/usr/local/bin:/usr/bin:/bin",
        "RSYNC_OLD_ARGS": "(not set)",
        "RSYNC_PROTECT_ARGS": "(not set)"
    },
    "python-setup": {
        "python": "3.11.4 main Jun 28 2023 19:51:46 CPython GCC",
        "python-executable": "/usr/bin/python3",
        "python-executable-symlink": true,
        "python-executable-resolved": "/usr/bin/python3.11",
        "sys.path": [
            "/usr/share/backintime/qt/plugins",
            "/usr/share/backintime/common/plugins",
            "/usr/share/backintime/plugins",
            "/usr/share/backintime/common",
            "/usr/lib64/python311.zip",
            "/usr/lib64/python3.11",
            "/usr/lib64/python3.11/lib-dynload",
            "/usr/lib64/python3.11/site-packages",
            "/usr/lib64/python3.11/site-packages/PIL",
            "/usr/lib64/python3.11/_import_failed",
            "/usr/lib/python3.11/site-packages"
        ],
        "qt": "PyQt 5.15.9 / Qt 5.15.10"
    },
    "external-programs": {
        "rsync": {
            "program": "rsync",
            "version": "3.2.7",
            "protocol": "31.0",
            "copyright": "(C) 1996-2022 by Andrew Tridgell, Wayne Davison, and others.",
            "url": "https://rsync.samba.org/",
            "capabilities": {
                "file_bits": 64,
                "inum_bits": 64,
                "timestamp_bits": 64,
                "long_int_bits": 64,
                "socketpairs": true,
                "symlinks": true,
                "symtimes": true,
                "hardlinks": true,
                "hardlink_specials": true,
                "hardlink_symlinks": true,
                "IPv6": true,
                "atimes": true,
                "batchfiles": true,
                "inplace": true,
                "append": true,
                "ACLs": true,
                "xattrs": true,
                "secluded_args": "optional",
                "iconv": true,
                "prealloc": true,
                "stop_at": true,
                "crtimes": false,
                "SLP": true
            },
            "optimizations": {
                "SIMD_roll": true,
                "asm_roll": false,
                "openssl_crypto": true,
                "asm_MD5": false
            },
            "checksum_list": [
                "xxh128",
                "xxh3",
                "xxh64",
                "md5",
                "md4",
                "sha1",
                "none"
            ],
            "compress_list": [
                "zstd",
                "lz4",
                "zlibx",
                "zlib",
                "none"
            ],
            "daemon_auth_list": [
                "sha512",
                "sha256",
                "sha1",
                "md5",
                "md4"
            ],
            "license": "GPLv3",
            "caveat": "rsync comes with ABSOLUTELY NO WARRANTY"
        },
        "ssh": "OpenSSH_9.3p2, OpenSSL 3.1.2 1 Aug 2023",
        "sshfs": "3.7.3",
        "encfs": "1.9.5",
        "shell": "/bin/bash",
        "shell-version": "GNU bash, version 5.2.15(1)-release (x86_64-suse-linux)"
    }
}


jim-moe avatar Aug 10 '23 21:08 jim-moe

Dear Jim, thanks for asking and reporting. Your issue is related to #1371.

It is not possible to rename the "Main profile" but you can rename all other profiles. This is a bug by design. It is not elegant but the behavior and code of BIT is currently structured like this. It is on our TODO list to make BIT more flexible here but given our lack of resources this has low priority.

In this screencast you can see how to rename the other profiles.

Peek 2023-08-11 09-15

Contributing

If you are interested in fixing this and contributing to the project I would try to support and mentoring you from scratch. But your specific Issue is not for beginners I would say. You can have a look on other beginner-friendly issues in our project.

About your diagnostics output

Beside the problem you reported I discovered something in your diagnostics output I would like to research about. Can you please show me the output of $ rsync -VV on your system please.

buhtz avatar Aug 11 '23 07:08 buhtz

$ rsync -VV
{
  "program": "rsync",
  "version": "3.2.7",
  "protocol": "31.0",
  "copyright": "(C) 1996-2022 by Andrew Tridgell, Wayne Davison, and others.",
  "url": "https://rsync.samba.org/",
  "capabilities": {
    "file_bits": 64, "inum_bits": 64, "timestamp_bits": 64,
    "long_int_bits": 64, "socketpairs": true, "symlinks": true,
    "symtimes": true, "hardlinks": true, "hardlink_specials": true,
    "hardlink_symlinks": true, "IPv6": true, "atimes": true,
    "batchfiles": true, "inplace": true, "append": true, "ACLs": true,
    "xattrs": true, "secluded_args": "optional", "iconv": true,
    "prealloc": true, "stop_at": true, "crtimes": false, "SLP": true
  },
  "optimizations": {
    "SIMD_roll": true, "asm_roll": false, "openssl_crypto": true,
    "asm_MD5": false
  },
  "checksum_list": [
    "xxh128", "xxh3", "xxh64", "md5", "md4", "sha1", "none"
  ],
  "compress_list": [
    "zstd", "lz4", "zlibx", "zlib", "none"
  ],
  "daemon_auth_list": [
    "sha512", "sha256", "sha1", "md5", "md4"
  ],
  "license": "GPLv3",
  "caveat": "rsync comes with ABSOLUTELY NO WARRANTY"
}

jim-moe avatar Aug 11 '23 17:08 jim-moe