Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remote log/.gitkeep #17663

Merged
merged 1 commit into from Aug 20, 2018
Merged

remote log/.gitkeep #17663

merged 1 commit into from Aug 20, 2018

Conversation

kbrock
Copy link
Member

@kbrock kbrock commented Jul 3, 2018

Our appliances link log to a different direction.
This means it will always be a modified git tree.
Git stash does not work across symbolic links. so it makes patching and git
functions difficult on the appliance

Not sure the downside of not having a log directory by default on a developer's rails machine.
The only downside I can see.

@kbrock kbrock force-pushed the log_gitkeep branch 2 times, most recently from 4795d74 to 90a78de Compare July 10, 2018 00:10
.travis.yml Outdated
@@ -25,6 +25,7 @@ addons:
postgresql: '9.5'
before_install:
- source ${TRAVIS_BUILD_DIR}/tools/ci/before_install.sh
- mkdir ${TRAVIS_BUILD_DIR}/log
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be done before before_install.sh?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this works, but I'll change - thnx

Our appliances link log to a different direction.
This means it will always be a modified git tree.
Git stash does not work across symbolic links. so it makes patching and git
functions difficult on the appliance
@kbrock
Copy link
Member Author

kbrock commented Aug 20, 2018

... no need for @Fryguy to be assigned - but if you have an opinion Jason, please share

@miq-bot
Copy link
Member

miq-bot commented Aug 20, 2018

Checked commit kbrock@ab4fa87 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0
0 files checked, 0 offenses detected
Everything looks fine. 🏆

@bdunne bdunne merged commit 5903757 into ManageIQ:master Aug 20, 2018
@bdunne bdunne self-assigned this Aug 20, 2018
@bdunne bdunne added this to the Sprint 93 Ending Aug 27, 2018 milestone Aug 20, 2018
@kbrock kbrock deleted the log_gitkeep branch August 20, 2018 20:30
@kbrock
Copy link
Member Author

kbrock commented Aug 20, 2018

oh no - looks like all repos will need some ./bin/setup / .travis.yml lovin

@gmcculloug
Copy link
Member

@kbrock @bdunne Counting 5 PRs (including this one) all trying to fix the same thing four different way. 😦

If this really needs to be fixed in lots of repos is there a recommended pattern to follow?

kbrock added a commit to kbrock/manageiq that referenced this pull request Aug 21, 2018
in ab4fa87 we removed the creation of the log directory
In production / appliances, we don't want an actual
log directory.

Unfortunatly the current solution caused issues for
plugins

Instead, the log creation was moved to the environment setup.
So all plugins travis builds will get the benefit

ManageIQ#17663
kbrock added a commit to kbrock/manageiq that referenced this pull request Aug 21, 2018
in ab4fa87 we removed the creation of the log directory
In production / appliances, we don't want an actual
log directory.

Unfortunatly the current solution caused issues for
plugins

Instead, the log creation was moved to the environment setup.
So all plugins travis builds will get the benefit

ManageIQ#17663
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants