Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

backup should look, feel and behave more 'unixy'

オープン
#32 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
30/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
ruby, yaml
領域
devops

調査の方向性

まず config.rb を見つけ、logfile.max_bytes の背景を確認するために issue #31 を確認します。設定、ロギング、モデルディレクトリ、tmp_path、data_path、タイムスタンプ処理がどのように定義されているかを追跡します。システム全体およびユーザーごとに要求された動作が一貫して実装され、設定可能なログファイル名も含まれていれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Accepted

i am using 'backup' for a couple of month now and absolutely love it. great tool, thanks for sharing it.
but i think, to use it properly on production servers it should behave more unixy.

just a couple of things:

  • config.rbshould be stored in /etc/backup/config.rb
  • $HOME/.backup/config.rb should extend and overwrite the global configuration in /etc
  • logs should go to /var/log/backup.log and i should be able to change the filename (not only the path)
  • logfile.max_bytes should default to Float::INFINITY (see #31). logrotate does a pretty good job at handling logrotation, and is installed and configured on most systems anyway.
  • global models should go into /etc/backup/models and user-models into $HOME/.backup/models
  • tmp_path should default to somewhere in /tmp
  • data_path should default to somwhere in /var/ or /etc/backup/ (i am not sure here, we can't use /var/backup/ because it is used by debian based systems for internal backups)
  • timestamps in logs and .yaml-files should use system-time, not UTC

this allows a sysadmin to set sane defaults (like mailserver, backupserver,...) systemwide, witch normal system users can use or overwrite.

主要言語
言語のデータがありません
スター
6
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

backup/backup-features のほかの issue

backup/backup-features の issue をすべて見る

似ている issue

DevOps の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。