Fixed
Pinned fields
Click on the next to a field label to start pinning.
Details
Components
Assignee
Richard ChapmanRichard ChapmanReporter
Gregory RoseGregory RosePriority
MajorFix versions
Affects versions
Details
Details
Components
Assignee
Richard Chapman
Richard ChapmanReporter
Gregory Rose
Gregory RosePriority
Fix versions
Affects versions
Created October 24, 2017 at 3:49 PM
Updated October 25, 2017 at 1:47 PM
Resolved October 25, 2017 at 1:47 PM
Summary
When utilizing
eclcc
with the-checkDirty
option the following output is always displayed:fatal: No names found, cannot describe anything.
Technical Details
Utilizing my test ECL repository Persons, I executed the following command:
eclcc -o Person.xml -E RunGetPerons.ecl --nostdinc --logfile Person.log -checkDirty
If there was no change to the repository I get the following output:
fatal: No names found, cannot describe anything.
After making a change to one of the attributes I get the following output:
RunGetPerons.ecl(0,0): info C1033: Definition is modified fatal: No names found, cannot describe anything.
After doing some research I determined that the string was a error returned specifically by
git describe
.$ git describe fatal: No names found, cannot describe anything. $ echo $? 128
Executed the above mentioned command once again this time with the verbose
-v
option, and saw thatgit describe
is among the git command executed byeclcc
.$ eclcc -o Person.xml -E RunGetPerons.ecl --nostdinc --logfile Person.log -checkDirty -v ... git: Creating PIPE program process : 'git status --porcelain -z -- RunGetPerons.ecl' - hasinput=0, hasoutput=1 stderrbufsize=0 git: Pipe: process 3330 complete 0 git: Creating PIPE program process : 'git status --porcelain -z -- /home/rosegr01/Developer/xecl/eclrepository/Persons/Person.ecl' - hasinput=0, hasoutput=1 stderrbufsize=0 git: Pipe: process 3332 complete 0 git: Creating PIPE program process : 'git status --porcelain -z -- /home/rosegr01/Developer/xecl/eclrepository/Persons/Address.ecl' - hasinput=0, hasoutput=1 stderrbufsize=0 git: Pipe: process 3334 complete 0 RunGetPerons.ecl(0,0): info C1033: Definition is modified git: Creating PIPE program process : 'git describe --tags --dirty --long' - hasinput=0, hasoutput=1 stderrbufsize=0 fatal: No names found, cannot describe anything. git: Pipe: process 3336 complete 128 Failed to run git describe: returned 128 ()
Possible Solution
Utilize the
git describe
command with--always
option:$ git describe --tags --always be2171d $ echo $? 0
Presently
eclcc
is executing the followinggit describe
command.git describe --tags --dirty --long' - hasinput=0, hasoutput=1 stderrbufsize=0
A suggested solution is the following:
git describe --tags --always --dirty --long' - hasinput=0, hasoutput=1 stderrbufsize=0