aboutsummaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog163
-rw-r--r--debian/control19
-rw-r--r--debian/install5
-rwxr-xr-xdebian/rules4
-rw-r--r--debian/shopno-os-log-sync.user.service12
-rw-r--r--debian/shopno-os-log-sync@.user.service6
-rw-r--r--debian/shopno-os-log-sync@.user.timer9
-rw-r--r--debian/source/format1
8 files changed, 219 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..d696c88
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,163 @@
+shopno-os-log-sync (2.0.0+nmu1) shopno; urgency=medium
+
+ * Non-maintainer upload.
+ * Use a dummy service to start timers
+
+ -- Mubashshir <ahm@jadupc.com> Wed, 26 Apr 2023 16:48:47 +0600
+
+shopno-os-log-sync (2.0.0) shopno; urgency=medium
+
+ * Fix empty stat upload
+ * Add per-user stat sync support
+
+ -- Mubashshir <ahm@jadupc.com> Fri, 07 Apr 2023 22:04:18 +0600
+
+shopno-os-log-sync (1.99.3) shopno; urgency=medium
+
+ * config: Update logger domain
+
+ -- Mubashshir <ahm@jadupc.com> Wed, 05 Apr 2023 15:47:22 +0600
+
+shopno-os-log-sync (1.99.2) shopno; urgency=medium
+
+ * Implement Log uploader
+
+ -- Mubashshir <ahm@jadupc.com> Thu, 23 Mar 2023 17:01:35 +0600
+
+shopno-os-log-sync (1.99.1) shopno; urgency=medium
+
+ * Add Autostart entry
+
+ -- Mubashshir <ahm@jadupc.com> Wed, 22 Mar 2023 16:28:27 +0600
+
+shopno-os-log-sync (1.99.0) shopno; urgency=medium
+
+ * path: Use `xdg.BaseDirectory` to get cache path
+
+ -- Mubashshir <ahm@jadupc.com> Wed, 22 Mar 2023 16:15:43 +0600
+
+shopno-os-log-sync (1.0.1) shopno; urgency=medium
+
+ [ Waishnav Deore ]
+ * Initial commit
+
+ [ Waishnav ]
+ * initializing project with bare minimal features
+ * log_files(implementing new approach) | so some changes in report_creation
+ * updating executable file and added function in time_operation module
+ * sorting app usage on the basis of screen-time
+ * completed week overview feature
+
+ [ Waishnav Deore ]
+ * Update README.md
+ * Update install.bash
+
+ [ Waishnav ]
+ * fixing issues in install-systemd.bash
+
+ [ Waishnav Deore ]
+ * Update README.md
+
+ [ Parth ]
+ * Updated watcher
+
+ [ Waishnav ]
+ * exception handling in watcher executable file
+
+ [ Waishnav Deore ]
+ * Update README.md
+
+ [ Waishnav ]
+ * (xprofile) | changing aproach to install/run watch_log script | adding install uninstall script
+ * fixing issue in install file
+ * fixing issue in watch_log | occurs is file doesn't exist
+ * sourcing .xprofile in install script
+
+ [ Waishnav Deore ]
+ * Update install
+
+ [ Waishnav ]
+ * resolving conflict in install file for those who still using systemd service
+ * issue resolved : watch_log stoped working after 24:00
+ * issue resolved : watch_log stoped working after 24:00
+ * changing approach to problem occured at 24:00 clock | added prompt in install script
+ * changing approach to problem occured at 24:00 clock
+ * error fixed in time_differnece
+ * sourcing .xprofile from .xinitrc at beginining of file
+ * removing conflict with previous version of watcher about sourcing xprofile from xinitrc
+ * improvised append_line function
+
+ [ Ethan M. Lee ]
+ * switch to python3 in shebang
+
+ [ Waishnav ]
+ * #Issue7 resolved time_difference error
+ * Ubuntu error solved of getting active window;
+ * updating log file algorithm | added AFK feature | changing dependency xdotool to ewmh
+ * updating install | updating bin according to new function names
+ * refactoring some function
+ * updating installation guide in README.md
+ * fixing typo | changing some time.sleep() values so that low CPU will consume
+ * aborting realtime-stats feature due to heavy RAM consumption so log-files get updated at event (when user changes window)
+ * Removing EWMH module as a dependancy (causing more RAM consumption over the time)
+ * fixing typo
+ * adding -s option to start watch_log function | active_window function updated to reduce error to get home-screen
+ * adding AFK condition if there is any video playback running in background (for pulseaudio) | changing value for more accuracy
+ * Adding option of custom date and custom week to get users usage
+ * added two commands -ds -y and -ws -pw
+ * removing error of 3 min timeout due to AFK | updating acitve_window_title function
+ * AFK closed_at variable error if date got change
+
+ [ augustin64 ]
+ * Update get_windows.py
+
+ [ Waishnav ]
+ * updated algorithm | update csv at every second
+ * removed outdated comment
+ * compensating error value changed
+ * changed function according to 2.0 analysis function
+ * export python script for watcher v1.2 version csv files
+
+ [ Ujjwal R ]
+ * shebang line updated, readme updated
+
+ [ Om Thakare ]
+ * Added CONTRIBUTING.md (#23)
+
+ [ Waishnav ]
+ * cleaning documentation stuffs | making it pure dev-branch for v2.0
+ * updating CONTRIBUTING.md adding website-info
+
+ [ Vaishnav Deore ]
+ * Update Readme for hactoberfest
+
+ [ Waishnav ]
+ * github-linguist update languages
+ * shifting website branch to its own repo
+
+ [ Pawan Patil ]
+ * fix : v2.0 Issue to avoid replication of data as day changed
+ * fix: Change directory from 'raw_data' to 'daily_data'
+
+ [ Waishnav ]
+ * making easy to installation link using curl
+ * changed some variable names
+ * Error in installtion
+ * Error in installtion solved
+
+ [ Vaishnav Deore ]
+ * resolving conflict
+
+ [ Waishnav ]
+ * unknown file added bymistaken
+
+ [ AnilMandliya ]
+ * [./install] BugFix. The script was recursively calling itself
+
+ -- Mubashshir <ahm@jadupc.com> Wed, 22 Mar 2023 16:06:19 +0600
+
+shopno-os-log-sync (1.0.0) shopno; urgency=medium
+
+ * Initial Release
+
+ -- Mubashshir <ahm@jadupc.com> Wed, 15 Mar 2023 17:15:35 +0600
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..6b518c3
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,19 @@
+Source: shopno-os-log-sync
+Section: util
+Priority: optional
+Maintainer: Mubashshir <ahm@jadupc.com>
+Build-Depends: debhelper-compat (= 13), dh-exec
+Standards-Version: 4.5.0
+Vcs-Git: https://builder.jadupc.com/git/pkgs/shopno-os-log-sync
+Vcs-Browser: https://builder.jadupc.com/git/pkgs/shopno-os-log-sync
+Rules-Requires-Root: no
+
+Package: shopno-os-log-sync
+Architecture: all
+Depends:
+ python3,
+ python3-xdg,
+ xdotool,
+ xprintidle
+Description: Shopno OS stats logger
+# vim: ft=yaml:ts=1:et
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..1e3ced0
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,5 @@
+src/Watcher/ usr/share/
+src/bin/watcher usr/bin/
+data/shopno-os-log.desktop etc/xdg/autostart/
+data/scripts/common.sh usr/share/Watcher/
+data/scripts/log-sync usr/share/Watcher/
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..2d33f6a
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,4 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@
diff --git a/debian/shopno-os-log-sync.user.service b/debian/shopno-os-log-sync.user.service
new file mode 100644
index 0000000..15a870f
--- /dev/null
+++ b/debian/shopno-os-log-sync.user.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Shopno OS Stats Sync
+Requires=shopno-os-log-sync@daily.timer
+Requires=shopno-os-log-sync@weekly.timer
+
+[Service]
+Type=oneshot
+ExecStart=/bin/true
+RemainAfterExit=on
+
+[Install]
+WantedBy=default.target
diff --git a/debian/shopno-os-log-sync@.user.service b/debian/shopno-os-log-sync@.user.service
new file mode 100644
index 0000000..928dd23
--- /dev/null
+++ b/debian/shopno-os-log-sync@.user.service
@@ -0,0 +1,6 @@
+[Unit]
+Description=Sync %I logs
+
+[Service]
+Type=oneshot
+ExecStart=/usr/share/Watcher/log-sync %i
diff --git a/debian/shopno-os-log-sync@.user.timer b/debian/shopno-os-log-sync@.user.timer
new file mode 100644
index 0000000..ec7bbb3
--- /dev/null
+++ b/debian/shopno-os-log-sync@.user.timer
@@ -0,0 +1,9 @@
+[Unit]
+Description=Sync usage logs with server %i
+
+[Timer]
+OnCalendar=%i
+Persistent=true
+
+[Install]
+WantedBy=timers.target
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..9f67427
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (native) \ No newline at end of file