Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
fmt
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
fmt
Commits
aa41dc02
Commit
aa41dc02
authored
Oct 25, 2020
by
Victor Zverovich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused script
parent
6a77ea3c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
30 deletions
+0
-30
support/update-coverity-branch.py
support/update-coverity-branch.py
+0
-30
No files found.
support/update-coverity-branch.py
deleted
100755 → 0
View file @
6a77ea3c
#!/usr/bin/env python
# Update the coverity branch from the master branch.
# It is not done automatically because Coverity Scan limits
# the number of submissions per day.
from
__future__
import
print_function
import
shutil
,
tempfile
from
subprocess
import
check_output
,
STDOUT
class
Git
:
def
__init__
(
self
,
dir
):
self
.
dir
=
dir
def
__call__
(
self
,
*
args
):
output
=
check_output
([
'git'
]
+
list
(
args
),
cwd
=
self
.
dir
,
stderr
=
STDOUT
)
print
(
output
)
return
output
dir
=
tempfile
.
mkdtemp
()
try
:
git
=
Git
(
dir
)
git
(
'clone'
,
'-b'
,
'coverity'
,
'git@github.com:fmtlib/fmt.git'
,
dir
)
output
=
git
(
'merge'
,
'-X'
,
'theirs'
,
'--no-commit'
,
'origin/master'
)
if
'Fast-forward'
not
in
output
:
git
(
'reset'
,
'HEAD'
,
'.travis.yml'
)
git
(
'checkout'
,
'--'
,
'.travis.yml'
)
git
(
'commit'
,
'-m'
,
'Update coverity branch'
)
git
(
'push'
)
finally
:
shutil
.
rmtree
(
dir
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment