Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
chkcrontab
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Kevin Lyda
chkcrontab
Commits
468d6963
There was a problem fetching the pipeline summary.
Commit
468d6963
authored
Jan 4, 2017
by
Kevin Lyda
Browse files
Options
Downloads
Patches
Plain Diff
Changes for RPM packaging; update readme.
parent
81b5f5a3
Branches
master
No related tags found
No related merge requests found
Pipeline
#
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.rst
+17
-6
17 additions, 6 deletions
README.rst
setup.py
+5
-10
5 additions, 10 deletions
setup.py
with
22 additions
and
16 deletions
README.rst
+
17
−
6
View file @
468d6963
...
...
@@ -60,14 +60,22 @@ as ``chkcrontab``. The project page is on `pypi`_:
The source code is available in the following locations:
* Bitbucket: https://bitbucket.org/lyda/chkcrontab/
* code.google: https://code.google.com/p/chkcrontab/
* Gitlab: https://gitlab.com/lyda/chkcrontab
* Github: https://github.com/lyda/chkcrontab
*
G
it
orious
: https://
g
it
orious
.org/
uu
/chkcrontab
*
B
it
bucket
: https://
b
it
bucket
.org/
lyda
/chkcrontab
/
* Sourceforge: https://sourceforge.net/p/chkcrontab
Pull requests on any of those platforms or emailed patches are fine.
Opening issues on github is easiest, but I'll check any of them.
Opening issues on gitlab or github is easiest, but I'll check any
of them.
Packaging
=========
For rpm distributions, ``./setup.py bdist --formats=rpm`` should make an
rpm but currently dies due to not finding the chkcrontab.1 man page.
For Debian distributions there's an additional tool that might work.
TODO
====
...
...
@@ -76,8 +84,11 @@ TODO
* Check for backticks. (why?)
* Make sure MAILTO and PATH are set (perhaps others?).
* Add tests for command line.
* Enable it to parse user crontabs: https://code.google.com/p/chkcrontab/issues/detail?id=2
* Make "acceptable filenames" a configurable thing: https://github.com/lyda/chkcrontab/issues/4
* Enable it to parse user crontabs:
https://github.com/lyda/chkcrontab/issues/12
* Make "acceptable filenames" a configurable thing:
https://github.com/lyda/chkcrontab/issues/4
* Packaging: https://github.com/lyda/chkcrontab/issues/13
Credits
=======
...
...
This diff is collapsed.
Click to expand it.
setup.py
+
5
−
10
View file @
468d6963
...
...
@@ -29,7 +29,7 @@ from distutils.core import Command
BASE_DIR
=
os
.
path
.
dirname
(
globals
().
get
(
'
__file__
'
,
os
.
getcwd
()))
VERSION
=
subprocess
.
check_output
(
[
'
git
'
,
'
describe
'
,
'
--dirty
=*
'
,
'
--always
'
]).
strip
().
decode
(
'
utf8
'
)
[
'
git
'
,
'
describe
'
,
'
--dirty
'
,
'
--always
'
]).
strip
().
decode
(
'
utf8
'
)
open
(
'
_version.py
'
,
'
w
'
).
write
(
'
__version__ =
"
%s
"
\n
'
%
VERSION
)
class
TestCmd
(
Command
):
...
...
@@ -43,12 +43,7 @@ class TestCmd(Command):
pass
def
run
(
self
):
if
sys
.
version_info
<
(
2
,
7
):
try
:
import
unittest2
as
unittest
except
ImportError
:
raise
RuntimeError
(
'
unittest2 required for running tests under Python < 2.7.
'
)
else
:
# Testing only works on python 2.7 and up.
import
unittest
test_dir
=
os
.
path
.
join
(
BASE_DIR
,
'
tests
'
)
...
...
@@ -174,9 +169,9 @@ setup(
cmdclass
=
cmdclass
,
name
=
'
chkcrontab
'
,
version
=
VERSION
,
url
=
'
http://
code.google
.com/
p
/chkcrontab
'
,
url
=
'
http
s
://
gitlab
.com/
lyda
/chkcrontab
'
,
author
=
'
Kevin Lyda
'
,
author_email
=
'
lyda@googl
e.com
'
,
author_email
=
'
kevin@phry
e.com
'
,
description
=
'
A tool to detect crontab errors
'
,
long_description
=
open
(
'
README.rst
'
).
read
(),
py_modules
=
[
'
chkcrontab_lib
'
,
'
_version
'
],
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment