Ask Your Question
1

publican does not build with staged items in git

asked 2015-03-02 20:08:04 -0600

grundblom gravatar image

Hello everyone, I googled and I couldn't find anything I understood that was like my problem. I am running Fedora 21, with publican-fedora version 4.0 release 2.fc.21. Here is what I am finding: when I stage items in head with git, Publican will give me an error instead of building or cleaning. If I commit the changes, or continue to work on the files without staging them, Publican builds fine.

Here is the exact error I recieved when I staged a file and did a publican clean: Config file not found: publican.cfg. at /usr/bin/publican line 993.

Can someone point me in the right direction or tell me what I am doing wrong?

Thank you,

edit retag flag offensive close merge delete

Comments

I haven't run into this one, unless there is in fact not a publican.cfg in the current working directory. Did you perhaps cd en-US before running publican commands?

randomuser gravatar imagerandomuser ( 2015-03-03 16:47:45 -0600 )edit

Hi Randomuser, so far I only run the publican command in the root of my local repo: /home/glen/Documents/fedora/virtualization-getting-started-guide and the following files are there: ls beta.cfg en-US publican.cfg tmp zanata.xml

grundblom gravatar imagegrundblom ( 2015-03-03 20:51:22 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-03-03 03:46:05 -0600

MJG gravatar image

There is a bug report which sounds exactly like your problem. You may want to add your observations there.

As a workaround, you can use

git stash
make
git stash pop

in order to store your staged and worktree changes away temporarily.

edit flag offensive delete link more

Comments

This bug report is about running informative commands that might not require a publican project while outside of a publican project. Also, publican does not use make.

randomuser gravatar imagerandomuser ( 2015-03-03 16:56:57 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2015-03-02 20:08:04 -0600

Seen: 115 times

Last updated: Mar 03 '15