Пара идей про сессии

main Alexey
Posts: 2533
Joined: 25.08.2021 18:15

Re: Пара идей про сессии

Post by main Alexey »

три репозитория создали? gtk2/qt5/qt6.
mix-7
Posts: 906
Joined: 11.05.2018 11:02

Re: Пара идей про сессии

Post by mix-7 »

нет, один на 3 пакета
они там, насколько понял, не принимают бинарные файлы
Нужно утилитой записывать из исходного пакета
несколько пакетов в одном PPA
несколько пакетов в одном PPA
(изображение на Что такое PPA? Все, что вам нужно знать о PPA в Linux https://omgubuntu.ru/ppa-guide/ )

Вот здесь пакеты этого репозитория:

WebUpd8 Themes Repository : “WebUpd8” team
https://launchpad.net/~webupd8team/+arc ... ntu/themes

Code: Select all

CudaText (cudatext) •
“WebUpd8” team

    Overview
    Code
    Bugs
    Blueprints
    Translations
    Answers

WebUpd8 Themes Repository
PPA description

Various GTK / Metacity themes and icon themes that do not have their own PPA (and a few dependencies)

Feedback and theme requests: http://www.webupd8.org/2011/03/announcing-webupd8-themes-ppa.html
Adding this PPA to your system

You can update your system with unsupported packages from this untrusted PPA by adding ppa:webupd8team/themes to your system's Software Sources. (Read about installing)

sudo add-apt-repository ppa:webupd8team/themes
sudo apt update
        

Technical details about this PPA

This PPA can be added to your system manually by copying the lines below and adding them to your system's software sources.
Display sources.list entries for:

deb https://ppa.launchpadcontent.net/webupd8team/themes/ubuntu YOUR_UBUNTU_VERSION_HERE main 
deb-src https://ppa.launchpadcontent.net/webupd8team/themes/ubuntu YOUR_UBUNTU_VERSION_HERE main 

Signing key:
    4096R/746CCC6D870D5C8D49A3548602DA059A59555E55 (What is this?) 
Fingerprint:
    746CCC6D870D5C8D49A3548602DA059A59555E55

For questions and bugs with software in this PPA please contact WebUpd8.
PPA statistics

Activity
    0 updates added during the past month.

View package details
Overview of published packages
Published in:
1 → 75 of 204 results 	First • Previous • Next • Last
Package 	Version 	Uploaded by
adwaita-cupertino-gtk-theme 	1.4.3-1~webupd8~0 	Alin Andrei (2012-08-27)
adwaita-cupertino-gtk-theme 	1.4.1-1~webupd8 	Alin Andrei (2012-04-06)
adwaita-x-theme 	1.3-1~webupd8~0~s 	Alin Andrei (2013-10-25)
adwaita-x-theme 	1.2.2-1~webupd8~0~qr 	Alin Andrei (2013-01-14)
adwaita-x-theme 	1.2.2-1~webupd8~0~qr 	Alin Andrei (2013-01-14)
adwaita-x-theme 	1.2.2-1~webupd8~0~precise 	Alin Andrei (2013-01-14)
ambiance-blue-theme 	2012.01.26-0~satya164~oneiric 	Satyajit Sahoo (2012-01-26)
ambiance-precise-theme 	20120525-1~webupd8~precise 	Alin Andrei (2012-06-01)
anewstart-theme 	1.3-1~webupd8 	Alin Andrei (2012-01-10)
anewstartblood-theme 	1.0-1~webupd8 	Alin Andrei (2012-01-10)
attack-of-the-clones-gtk-theme 	0.2-1~webupd8~natty 	Alin Andrei (2011-03-20)
attack-of-the-clones-gtk-theme 	0.2-1~webupd8~maverick 	Alin Andrei (2011-03-20)
bluebird-gtk-theme 	0.3.2-3+git20120828~webupd8~0 	Alin Andrei (2012-08-28)
bluebird-gtk-theme 	0.3.2-3+git20120828~webupd8~0 	Alin Andrei (2012-08-28)
bluebird-gtk-theme 	0.3.2-3+git20120330~webupd8 	Alin Andrei (2012-04-11)
bluebird-gtk-theme 	0.3.2-2~webupd8~natty 	Alin Andrei (2011-03-23)
bluebird-gtk-theme 	0.3.2-2~webupd8~maverick 	Alin Andrei (2011-03-23)
bluebird-gtk-theme 	0.3.2-2~webupd8~lucid 	Alin Andrei (2011-03-23)
boomerang-gtk-theme 	5.0-1~webupd8-0 	Alin Andrei (2012-06-27)
boomerang-gtk-theme 	4.0-1~webupd8 	Alin Andrei (2012-02-07)
clearlooks-revamp-gtk-theme 	0.45-1~webupd8~natty 	Alin Andrei (2011-05-27)
clearlooks-revamp-gtk-theme 	0.45-1~webupd8~maverick 	Alin Andrei (2011-05-27)
clearlooks-revamp-gtk-theme 	0.45-1~webupd8~lucid 	Alin Andrei (2011-05-27)
dichotomy-gtk-theme 	0.6-1~webupd8~natty 	Alin Andrei (2011-03-29)
dichotomy-gtk-theme 	0.6-1~webupd8~maverick 	Alin Andrei (2011-03-29)
dichotomy-gtk-theme 	0.6-1~webupd8~lucid 	Alin Andrei (2011-03-29)
divergence-iv-emerald-decorators 	0.7.9-1~webupd8~natty3 	Alin Andrei (2012-01-15)
divergence-iv-emerald-decorators 	0.7.9-1~webupd8~natty3 	Alin Andrei (2011-03-17)
divergence-iv-emerald-decorators 	0.7.9-1~webupd8~maverick3 	Alin Andrei (2011-03-17)
divergence-iv-gtk-theme 	0.7.9-1~webupd8~natty3 	Alin Andrei (2011-03-17)
divergence-iv-gtk-theme 	0.7.9-1~webupd8~maverick3 	Alin Andrei (2011-03-17)
elegant-brit-gtk-theme 	2011.10.15-1~webupd8~oneiric2 	Alin Andrei (2011-11-05)
elements-gtk-theme 	0.0.2-1~webupd8~oneiric 	Alin Andrei (2011-10-25)
evolve-gtk-theme 	2012.01.27-0~satya164~oneiric 	Satyajit Sahoo (2012-01-26)
faenza-colors 	0.3.4-1~webupd8~oneiric 	Alin Andrei (2014-09-11)
faenza-colors 	0.3.4-1~webupd8~oneiric 	Alin Andrei (2014-04-24)
faenza-colors 	0.3.4-1~webupd8~oneiric 	Alin Andrei (2012-12-02)
faenza-colors 	0.3.4-1~webupd8~oneiric 	Alin Andrei (2012-09-17)
faenza-colors 	0.3.4-1~webupd8~oneiric 	Alin Andrei (2011-12-08)
faenza-colors 	0.3.4-1~webupd8~oneiric 	Alin Andrei (2011-11-29)
faenza-colors 	0.3.4-1~webupd8~natty 	Alin Andrei (2011-11-29)
faenza-colors 	0.3.4-1~webupd8~maverick 	Alin Andrei (2011-11-29)
faenza-colors 	0.3.4-1~webupd8~lucid 	Alin Andrei (2011-11-29)
faenza-dark-extras 	0.9-ubuntu1 	Matthieu James (2011-10-04)
faenza-dark-extras 	0.9-ubuntu1 	Matthieu James (2011-10-04)
faenza-dark-extras 	0.9-ubuntu1 	Matthieu James (2011-10-04)
faenza-dark-extras 	0.9-ubuntu1 	Matthieu James (2011-10-04)
faenza-extras 	0.9-ubuntu1 	Matthieu James (2011-10-04)
faenza-extras 	0.9-ubuntu1 	Matthieu James (2011-10-04)
faenza-extras 	0.9-ubuntu1 	Matthieu James (2011-10-04)
faenza-extras 	0.9-ubuntu1 	Matthieu James (2011-10-04)
faenza-icon-theme 	1.3.1 	Matthieu James (2014-06-07)
faenza-icon-theme 	1.3.1 	Matthieu James (2014-06-07)
faenza-icon-theme 	1.3.1 	Matthieu James (2014-04-24)
faenza-icon-theme 	1.3 	Matthieu James (2012-12-02)
faenza-icon-theme 	1.3 	Matthieu James (2012-11-08)
faenza-icon-theme 	1.3 	Matthieu James (2012-11-08)
faenza-icon-theme 	1.3 	Matthieu James (2012-11-07)
faenza-icon-theme 	1.3 	Matthieu James (2012-11-07)
faenza-icon-theme 	1.2 	Matthieu James (2011-12-08)
faenza-icon-theme 	1.2 	Matthieu James (2011-12-08)
faenza-icon-theme 	1.0-ubuntu1 	Matthieu James (2011-10-04)
faenza-icons-mono 	1.0 	Matthieu James (2011-10-04)
faenza-icons-mono 	1.0 	Matthieu James (2011-10-04)
faenza-icons-mono 	1.0 	Matthieu James (2011-10-04)
faenza-icons-mono 	1.0 	Matthieu James (2011-10-04)
faenza-icons-mono 	1.0 	Matthieu James (2011-10-04)
faience-azur-dark 	0.5-0~webupd8-0 	Alin Andrei (2014-09-11)
faience-azur-dark 	0.5-0~webupd8-0 	Alin Andrei (2014-04-24)
faience-azur-dark 	0.5-0~webupd8-0 	Alin Andrei (2012-12-02)
faience-azur-dark 	0.5-0~webupd8-0 	Alin Andrei (2012-11-08)
faience-azur-dark 	0.5-0~webupd8-0 	Alin Andrei (2012-11-08)
faience-azur-dark 	0.5-0~webupd8-0 	Alin Andrei (2012-11-08)
faience-azur-dark 	0.5-0~webupd8-0 	Alin Andrei (2012-11-08)
faience-azur-dark 	0.3-0~webupd8-1 	Alin Andrei (2012-08-15)
1 → 75 of 204 results 	First • Previous • Next • Last

    View package details

Latest updates

    grive2 279 weeks ago
    Successfully built
    grive2 279 weeks ago
    Successfully built
    grive2 279 weeks ago
    Successfully built
    mint-themes-gtk3 518 weeks ago
    Successfully built
    light-themes-gnome 536 weeks ago
    Successfully built

Launchpad  •  Take the tour  •  Read the guide  
© 2004 Canonical Ltd.  •  Terms of use  •  Data privacy  •  Contact Launchpad Support  •  Blog  •  Careers  •  System status  •  e76edd8 (Get the code!)
https://launchpad.net/~webupd8team/+archive/ubuntu/themes
mix-7
Posts: 906
Joined: 11.05.2018 11:02

Re: Пара идей про сессии

Post by mix-7 »

Help

Packaging - Launchpad Help
https://help.launchpad.net/Packaging


PPA's key

Packaging/PPA - Launchpad Help
https://help.launchpad.net/Packaging/PPA
--
...
Your PPA's key

Launchpad generates a unique key for each PPA and uses it to sign any packages built in that PPA.

This means that people downloading/installing packages from your PPA can verify their source. After you've activated your PPA, uploading its first package causes Launchpad to start generating your key, which can take up to a couple of hours to complete.

Your key, and instructions for adding it to Ubuntu, are shown on the PPA's overview page.
...
Загрузка пакетов в PPA

Packaging/PPA/Uploading - Launchpad Help
https://help.launchpad.net/Packaging/PPA/Uploading
--
Uploading a package to a PPA

How you upload a source package to a PPA depends on two things:

whether you're using a recent version of Ubuntu (Ubuntu 9.10 and newer)
whether you want to use FTP or SFTP.
...
mix-7
Posts: 906
Joined: 11.05.2018 11:02

Re: Пара идей про сессии

Post by mix-7 »

Создал тему

Cudatext on PPA Launchpad.net - UVviewsoft forums
https://synwrite.sourceforge.net/forums ... php?t=3242
--
Cudatext on PPA Launchpad.net
mix-7
Posts: 906
Joined: 11.05.2018 11:02

Re: Пара идей про сессии

Post by mix-7 »

Заметил, что теперь сессии не сохраняются, если не было изменений со времени последнего сохранения.
Или это ошибка наблюдения? И какое-то неправильное торможение?

А так - правильно - зачем сохранять и "гонять" файлы по кольцу каждые 40 секунд, если изменений не было?
И вдруг кому-то понадобиться откат на одну из предыдущих сессий.

CudaText 1.223.5.2, linux-x86_64-qt6, fpc 3.2.3
mix-7
Posts: 906
Joined: 11.05.2018 11:02

Re: Пара идей про сессии

Post by mix-7 »

Видимо, вывод в консоль затормозил, все есть:

Code: Select all

Python 3.12.3
Init: cuda_macros
Init: cuda_project_man
Loading project: ~/.config/cudatext/settings/temporary.cuda-proj
Init: cuda_code_tree_x
Init: cuda_vim_mode
Init: cuda_breadcrumbs
Loaded session: "history session.json", 510ms, 15 file(s)
Startup: 880ms, plugins: 70ms (breadcrumbs 8ms, code_tree_x 1ms, macros 40ms, project_man 20ms, vim_mode 1ms)
Init: cudatext
Init: cuda_insert_time
Init: cuda_tabs_list_print
Tabs list:
=====================================================================:
<...>
=====================================================================:
Saved session: "history session.json", 15 file(s), by timer at 13:27:57
Saved session: "history session.json", 15 file(s), by timer at 13:28:39
Saved session: "history session.json", 15 file(s), by timer at 13:29:19
Saved session: "history session.json", 15 file(s), by timer at 13:29:59
Saved session: "history session.json", 15 file(s), by timer at 13:30:39
Saved session: "history session.json", 15 file(s), by timer at 13:31:22
Saved session: "history session.json", 15 file(s), by timer at 13:32:03
Saved session: "history session.json", 15 file(s), by timer at 13:32:45
Saved session: "history session.json", 15 file(s), by timer at 13:33:25
Saved session: "history session.json", 15 file(s), by timer at 13:34:05
Saved session: "history session.json", 15 file(s), by timer at 13:34:46
Saved session: "history session.json", 15 file(s), by timer at 13:35:27
Saved session: "history session.json", 15 file(s), by timer at 13:36:12
Saved session: "history session.json", 15 file(s), by timer at 13:36:53
<...>
mix-7
Posts: 906
Joined: 11.05.2018 11:02

Re: Пара идей про сессии

Post by mix-7 »

А вообще - идея!
Не писать сессии, если не было изменений в табах!

Имеет смысл?

(Хотя, а вдруг кто выполнял команды в консоли?)
Они же сохраняются в сессии - очень удобно, спасибо!
main Alexey
Posts: 2533
Joined: 25.08.2021 18:15

Re: Пара идей про сессии

Post by main Alexey »

даже если не было изменений, файл сессии "кодом бекапа сессий" удаляется (переименовывается). и потом снова пишется.
то есть сейчас если включен "код бекапа сессий" то проверка "ничего в сессии не изменилось" НЕ работает.
поменять это сложно.
потому что сначала работает "код бекапа" а только потом мы смотрим что "что-то изменилось".
если же "код бекапа" отключить через опцию (число бекапов = 0) то проверка сработает. файл не перезапишется зря с тем же текстом.
mix-7
Posts: 906
Joined: 11.05.2018 11:02

Re: Пара идей про сессии

Post by mix-7 »

Идея в том, если сессия не изменилась, то и не писать ее.
Но для этого, видимо, нужно пробежаться по всем табам и проверить, что нет изменений.
А если есть изменение, записывать?

Не знаю, надо ли?
Слишком много проверять, можно пропустить что-то между тиками таймера.
Наверное, лучше, проще и надежней просто записывать по таймеру?

Или держать ДВЕ сессии: одна старая, другая новая, если были изменения, то писать.
main Alexey
Posts: 2533
Joined: 25.08.2021 18:15

Re: Пара идей про сессии

Post by main Alexey »

а нельзя не писать. даже если не изменилась. потому что "код бекапов" только что переименовал
default.cuda-session -> default.1.cuda-session
и мы должны создать default.cuda-session т к файла уже нету.

если "число бекапов" (опция) = 0, то тогда Куд вроде и проверяет что ничего неменялось, и не пишет.
Post Reply