Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
dcpman
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
dcp
dcpman
Commits
6329d117
Commit
6329d117
authored
10 years ago
by
nimrod
Browse files
Options
Downloads
Patches
Plain Diff
Improved handling of missing files
parent
77d0e203
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
debian/changelog
+13
-4
13 additions, 4 deletions
debian/changelog
fabfile.py
+1
-0
1 addition, 0 deletions
fabfile.py
source/dcp.py
+2
-2
2 additions, 2 deletions
source/dcp.py
with
16 additions
and
6 deletions
debian/changelog
+
13
−
4
View file @
6329d117
dcpman (0.1.
5
) unstable; urgency=medium
dcpman (0.1.
7
) unstable; urgency=medium
* Tagged debian/0.1.4
* modified: debian/changelog modified: fabfile.py
* Now logs exception as well.
* Release new version.
-- Adar Nimrod <nimrod@nimrod.private> Thu, 02 Oct 2014 14:13:56 +0300
dcpman (0.1.6) unstable; urgency=medium
* Now logs exception as well.
* Added simple search and parsing for CPLs (ID and issue date).
-- Adar Nimrod <nimrod@nimrod.private> Thu, 02 Oct 2014 14:10:38 +0300
dcpman (0.1.5) unstable; urgency=medium
* Now logs exception as well.
-- Adar Nimrod <nimrod@nimrod.private> Thu, 02 Oct 2014 14:09:29 +0300
dcpman (0.1.4) unstable; urgency=medium
* Tagged debian/0.1.4
* modified: debian/changelog modified: fabfile.py
-- Adar Nimrod <nimrod@shore.co.il> Thu, 25 Sep 2014 15:10:18 +0300
...
...
This diff is collapsed.
Click to expand it.
fabfile.py
+
1
−
0
View file @
6329d117
...
...
@@ -3,6 +3,7 @@ from fabric.api import task, local, settings
@task
def
publish
():
local
(
'
git dch -R
'
)
build
()
for
dist
in
[
'
wheezy
'
,
'
jessie
'
,
'
sid
'
]:
local
(
'''
reprepro includedeb
'''
+
dist
+
'''
../dcpman_*.deb
'''
)
...
...
This diff is collapsed.
Click to expand it.
source/dcp.py
+
2
−
2
View file @
6329d117
...
...
@@ -2,7 +2,7 @@
from
hashlib
import
sha1
from
base64
import
b64encode
from
os
import
stat
,
listdir
,
mkdir
,
statvfs
from
os.path
import
isdir
,
basename
from
os.path
import
isdir
,
basename
,
exists
from
shutil
import
copyfile
from
xml.dom.minidom
import
parse
import
sys
...
...
@@ -13,7 +13,7 @@ class Asset (object):
def
verifySize
(
self
):
'''
verify that the size of the file is correct, if present.
'''
try
:
return
stat
(
self
.
fullpath
).
st_size
==
self
.
size
return
exists
(
self
.
fullpath
)
and
stat
(
self
.
fullpath
).
st_size
==
self
.
size
except
AttributeError
:
return
True
...
...
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