Skip to content

Lint fixes - #1

Closed
s0undt3ch wants to merge 25 commits into
cro:proxyminionfrom
s0undt3ch:hotfix/lint-cro
Closed

s0undt3ch wants to merge 25 commits into
cro:proxyminionfrom
s0undt3ch:hotfix/lint-cro

Conversation

@s0undt3ch

Copy link
Copy Markdown

No description provided.

terminalmage and others added 25 commits January 16, 2014 17:52
This builds on the work Tom started, using common functions for reading
and writing the cache, and also switching the cache location.
Additionally, this commit also optimizes the file list cache by creating
separate cache files for each environment. The desired environment is in
the load already, so there is no need to walk the other environments to
get the desired file_list data.
We still need to be able to set the screen size within a multiprocessing
process.
Fix the logging call and try to catch any errors occurring while
spawning the VT.
This change mirrors the behavior in the apt module. Previous behavior of
nuking the package cache would cause yum to download ~30 MB of data for
each and every highstate run.
************* Module salt.fileserver.roots
salt/fileserver/roots.py:11: [W0611(unused-import), ] Unused import time
Instead of raising `RuntimeError`, raise `TerminalException`.
This was moved off to salt-contrib due to some issues with SELinux. I've added in a grain for SELinux (as a bunch of other thinks may or may not work with it) and have made yumpkg the default for all redhat family OSs with selinux disabled (might want to change to non-enforcing, but we'll start out safe)
Change yumpkg to only load on RHEL 6 releases
Fix a pet peeve of mine so that beginners don't repeat the mistake: silencing `ImportError` is evil since you don't know if it came because `dependency_that_sometimes_exists` is unavailable or the `dependency_that_sometimes_exists` tried to import something which was broken.

This can seriously hinder debugging.
@s0undt3ch

Copy link
Copy Markdown
Author

Noticed these from your PR

Awesome work!

Still need to read it all though...

@s0undt3ch

Copy link
Copy Markdown
Author

Please ignore this if you've already fixed theses issues

@s0undt3ch

Copy link
Copy Markdown
Author

hmm, there's more in this PR than just the lint fixes :|

@s0undt3ch

Copy link
Copy Markdown
Author

I think it's best if this is closed, you can just cherry-pick 3f33f34

@cro cro closed this Jan 16, 2014
cro pushed a commit that referenced this pull request Nov 12, 2015
cro pushed a commit that referenced this pull request Nov 12, 2015
cro pushed a commit that referenced this pull request Nov 15, 2015
cro pushed a commit that referenced this pull request Dec 1, 2015
cro pushed a commit that referenced this pull request Dec 3, 2015
systemd module: new unit test for available
cro pushed a commit that referenced this pull request Dec 3, 2015
file state: integration test difflib version check
cro pushed a commit that referenced this pull request Dec 4, 2015
modules.glusterfs: fix start_volume unit test
cro pushed a commit that referenced this pull request Feb 8, 2016
Updating documentation of module file
cro pushed a commit that referenced this pull request Mar 1, 2016
Fix issue where deploy_kwargs is missing.
cro pushed a commit that referenced this pull request Mar 1, 2016
cro pushed a commit that referenced this pull request Jul 13, 2016
cro pushed a commit that referenced this pull request Sep 29, 2016
Move check for service availability to a helper function
cro pushed a commit that referenced this pull request Sep 30, 2016
Updates to  salt/states/pkg.py, modules/win_pkg.py, doc/ref/configuration/minion.rst
cro pushed a commit that referenced this pull request Oct 14, 2016
Update mocks for failing tests in win_certutil_test
cro pushed a commit that referenced this pull request Jan 19, 2017
Adjust linux_acl unit test argument ordering
cro pushed a commit that referenced this pull request Jan 19, 2017
Roll up upstream changes.
cro pushed a commit that referenced this pull request Jan 19, 2017
Fixes inability to remove untagged Docker images.
cro pushed a commit that referenced this pull request Feb 1, 2017
Remove extra if statements (rstrip will check for the presence anyway).
cro pushed a commit that referenced this pull request May 12, 2017
cro pushed a commit that referenced this pull request Jul 27, 2017
cro pushed a commit that referenced this pull request Aug 2, 2017
Restrict set_umask to mkstemp call only
cro pushed a commit that referenced this pull request Jun 7, 2018
cro pushed a commit that referenced this pull request Jun 7, 2018
cro pushed a commit that referenced this pull request Oct 23, 2018
cro pushed a commit that referenced this pull request Jan 3, 2019
cro pushed a commit that referenced this pull request Jan 3, 2019
Update from upstream 20181221
dwoz pushed a commit that referenced this pull request Feb 13, 2019
cro pushed a commit that referenced this pull request Jan 29, 2020
cro pushed a commit that referenced this pull request Jan 29, 2020
cro pushed a commit that referenced this pull request Apr 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants