lp:~dashmage/charm-logrotated

Owned by Ashley James
Get this repository:
git clone https://git.launchpad.net/~dashmage/charm-logrotated
Only Ashley James can upload to this repository. If you are Ashley James please log in for upload directions.

Branches

Name Last Modified Last Commit
add-juju31-support 2023-09-26 05:35:56 UTC
func: Remove juju version pin

Author: Ashley James
Author Date: 2023-09-26 05:34:46 UTC

func: Remove juju version pin

master 2023-07-04 12:57:50 UTC
Fix lint test by running `make black`

Author: Chi Wai CHAN
Author Date: 2023-07-04 12:57:50 UTC

Fix lint test by running `make black`

Reviewed-on: https://code.launchpad.net/~raychan96/charm-logrotated/+git/charm-logrotated/+merge/445949
Reviewed-by: Ramesh Sattaru <ramesh.sattaru@canonical.com>
Reviewed-by: Eric Chen <eric.chen@canonical.com>

bug-2019990/random-time-cronjob 2023-06-01 04:55:32 UTC
Implement random time functionality for daily cronjob.

Author: Ashley James
Author Date: 2023-05-22 12:03:47 UTC

Implement random time functionality for daily cronjob.

- The "random" functionality was not working earlier since the Ubuntu
  cron package does not support the feature. So a new method was
  added to generate a random time within a range. This will provide
  the random time to be placed in /etc/crontab for the daily cronjob.
- Remove condition to check if `logrotate-cronjob-frequency` is
 `daily` before applying the cron daily schedule.
- Modify existing unit tests to accomodate the changes with the random
  time functionality.
- Fix validation of random time and add another unit test for the
  validation.
- Edit config.yaml to add a clear disclaimer about
  `update-cron-daily-schedule`.

bug/2017798-update-cron-daily-location 2023-05-19 07:58:44 UTC
Remove cron daily job from root user crontab.

Author: Ashley James
Author Date: 2023-05-09 05:26:38 UTC

Remove cron daily job from root user crontab.

Currently while modifying cron daily job execution time, it is
updated in the root user's crontab (/var/spool/cron/crontabs/root).
This leads to a duplicate execution along with the execution of
cron.daily scripts in /etc/crontab.

This commit aims to manage the execution of the charms' daily cron job
solely from the system crontab, /etc/crontab. It also fixes the existing
unit test `test_cron_daily_schedule` and mocks the crontab instead of
directly writing to it.

reschedule-cron-daily 2023-01-20 05:10:01 UTC
updated unittests as per suggestions

Author: Kamal Bhaskar
Author Date: 2023-01-20 05:10:01 UTC

updated unittests as per suggestions

stable/21.01 2021-01-22 19:00:59 UTC
Re-worked actions.py

Author: Xav Paice
Author Date: 2021-01-22 19:00:59 UTC

Re-worked actions.py

Reviewed-on: https://code.launchpad.net/~xavpaice/charm-logrotated/+git/charm-logrotated/+merge/396711
Reviewed-by: Paul Goins <paul.goins@canonical.com>
Reviewed-by: Peter Sabaini <peter.sabaini@canonical.com>

stable/20.10 2020-10-19 11:26:56 UTC
Add Apache 2 copyright file

Author: Drew Freiberger
Author Date: 2020-10-19 11:26:56 UTC

Add Apache 2 copyright file

Reviewed-on: https://code.launchpad.net/~afreiberger/charm-logrotated/+git/charm-logrotated/+merge/392423
Reviewed-by: Alvaro Uria <alvaro.uria@canonical.com>

stable/20.08 2020-08-10 21:51:09 UTC
Blackened repository to 88 lines

Author: Paul Goins
Author Date: 2020-08-10 21:51:09 UTC

Blackened repository to 88 lines

Reviewed-on: https://code.launchpad.net/~vultaire/charm-logrotated/+git/charm-logrotated/+merge/388839
Reviewed-by: Xav Paice <xav.paice@canonical.com>

stable/20.05 2020-03-02 01:51:34 UTC
Updated name to match service being charmed

Author: Jeremy Lounder
Author Date: 2020-03-02 01:51:34 UTC

Updated name to match service being charmed

stable/20.02 2020-03-02 01:46:10 UTC
Updated maintainers in metadata.yaml

Author: Jeremy Lounder
Author Date: 2020-03-02 01:45:56 UTC

Updated maintainers in metadata.yaml

bug_1833723 2020-01-31 12:08:47 UTC
Added maintenance status while cronjob running

Author: Diko Parvanov
Author Date: 2020-01-31 12:08:47 UTC

Added maintenance status while cronjob running

111 of 11 results
This repository contains Public information 
Everyone can see this information.

Subscribers