public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pbs-devel] [PATCH proxmox-backup v2 00/11] implement dates for calendarevents
@ 2020-09-04 12:33 Dominik Csapak
  2020-09-04 12:33 ` [pbs-devel] [PATCH proxmox-backup v2 01/11] tools/systemd/tm_editor: remove TMChanges optimization Dominik Csapak
                   ` (11 more replies)
  0 siblings, 12 replies; 15+ messages in thread
From: Dominik Csapak @ 2020-09-04 12:33 UTC (permalink / raw)
  To: pbs-devel

implements Dates and more special words for calendar events
and fixes some small bugs

not implemented for calendarevents are Timezones, Unix Timestamps and
the ~ operator for the last days of the month

changes from v1:
* do not change DateTimeValues to i32 but fail for not
  correctly convertable entries
  (this makes years < 0 invalid but it's ok)
* remove the TMChanges bitflags completely (its not faster, but more
  complicated)

Dominik Csapak (11):
  tools/systemd/tm_editor: remove TMChanges optimization
  tools/systemd/time: let libc normalize time for us
  tools/systemd/time: move continue out of the if/else
  tools/systemd/time: convert the resulting timestamp into an option
  tools/systemd/tm_editor: remove reset_time from add_days and document it
  tools/systemd/parse_time: error out on invalid ranges
  tools/systemd/time: fix selection for multiple options
  tools/systemd/tm_editor: move conversion of the year into getter and setter
  tools/systemd/tm_editor: add setter/getter for months/years/days
  tools/systemd/time: fix signed conversion
  tools/systemd/time: enable dates for calendarevents

 src/api2/admin/sync.rs          |   3 +-
 src/bin/proxmox-backup-proxy.rs |   9 +-
 src/tools/systemd/parse_time.rs |  80 +++++++++++++-
 src/tools/systemd/time.rs       | 150 ++++++++++++++++++--------
 src/tools/systemd/tm_editor.rs  | 186 +++++++++++---------------------
 5 files changed, 249 insertions(+), 179 deletions(-)

-- 
2.20.1





^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2020-09-07  6:28 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-04 12:33 [pbs-devel] [PATCH proxmox-backup v2 00/11] implement dates for calendarevents Dominik Csapak
2020-09-04 12:33 ` [pbs-devel] [PATCH proxmox-backup v2 01/11] tools/systemd/tm_editor: remove TMChanges optimization Dominik Csapak
2020-09-04 12:33 ` [pbs-devel] [PATCH proxmox-backup v2 02/11] tools/systemd/time: let libc normalize time for us Dominik Csapak
2020-09-04 12:33 ` [pbs-devel] [PATCH proxmox-backup v2 03/11] tools/systemd/time: move continue out of the if/else Dominik Csapak
2020-09-04 12:33 ` [pbs-devel] [PATCH proxmox-backup v2 04/11] tools/systemd/time: convert the resulting timestamp into an option Dominik Csapak
2020-09-04 12:33 ` [pbs-devel] [PATCH proxmox-backup v2 05/11] tools/systemd/tm_editor: remove reset_time from add_days and document it Dominik Csapak
2020-09-04 12:33 ` [pbs-devel] [PATCH proxmox-backup v2 06/11] tools/systemd/parse_time: error out on invalid ranges Dominik Csapak
2020-09-04 12:33 ` [pbs-devel] [PATCH proxmox-backup v2 07/11] tools/systemd/time: fix selection for multiple options Dominik Csapak
2020-09-04 13:38   ` Dietmar Maurer
2020-09-07  6:27     ` Dominik Csapak
2020-09-04 12:33 ` [pbs-devel] [PATCH proxmox-backup v2 08/11] tools/systemd/tm_editor: move conversion of the year into getter and setter Dominik Csapak
2020-09-04 12:33 ` [pbs-devel] [PATCH proxmox-backup v2 09/11] tools/systemd/tm_editor: add setter/getter for months/years/days Dominik Csapak
2020-09-04 12:33 ` [pbs-devel] [PATCH proxmox-backup v2 10/11] tools/systemd/time: fix signed conversion Dominik Csapak
2020-09-04 12:33 ` [pbs-devel] [PATCH proxmox-backup v2 11/11] tools/systemd/time: enable dates for calendarevents Dominik Csapak
2020-09-04 13:36 ` [pbs-devel] applied: [PATCH proxmox-backup v2 00/11] implement " Dietmar Maurer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal