Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
LbScripts
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
LHCb Core Software
LbScripts
Merge requests
!54
add default .gitignore in lb-dev and lb-project-init
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
add default .gitignore in lb-dev and lb-project-init
clemenci/LbScripts:LBCORE-1104
into
master
Overview
0
Commits
4
Changes
2
Merged
Marco Clemencic
requested to merge
clemenci/LbScripts:LBCORE-1104
into
master
9 years ago
Overview
0
Commits
4
Changes
-
Expand
Fixes
LBCORE-1104
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
151aad3f
4 commits,
9 years ago
+
47
−
12
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
Search (e.g. *.vue) (Ctrl+P)
LbConfiguration/python/LbConfiguration/SP2/devtools.py
+
4
−
3
Options
@@ -15,13 +15,12 @@ import logging
import
stat
import
sys
import
LbConfiguration.SP2
from
string
import
Template
import
LbConfiguration.SP2
from
LbConfiguration.SP2.version
import
DEFAULT_VERSION
from
LbConfiguration.SetupProject
import
FixProjectCase
from
LbConfiguration
import
createGitIgnore
def
main
():
'''
@@ -215,6 +214,8 @@ def main():
.
format
(
local_project
+
'
Sys
'
,
local_version
))
if
opts
.
git
:
createGitIgnore
(
os
.
path
.
join
(
devProjectDir
,
'
.gitignore
'
),
selfignore
=
False
)
call
([
'
git
'
,
'
add
'
,
'
.
'
],
cwd
=
devProjectDir
)
call
([
'
git
'
,
'
commit
'
,
'
--quiet
'
,
'
-m
'
,
'
initial version of satellite project
\n\n
'
Loading