-
Notifications
You must be signed in to change notification settings - Fork 35
Phase 1: Foundation Infrastructure for Script Modernization #2
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
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
166 changes: 166 additions & 0 deletions
.gitignore
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,166 @@ | ||
| # System Administration Shell Scripts - .gitignore | ||
|
|
||
| # ============================================ | ||
| # Configuration Files (contain secrets) | ||
| # ============================================ | ||
| config/*.conf | ||
| !config/*.conf.example | ||
| !config/defaults.conf | ||
|
|
||
| # Credential files | ||
| .my.cnf | ||
| .pgpass | ||
| *.credentials | ||
| *_credentials | ||
| secrets/ | ||
| .secrets/ | ||
|
|
||
| # ============================================ | ||
| # Backup Files | ||
| # ============================================ | ||
| *.backup | ||
| *.backup-* | ||
| *.bak | ||
| *~ | ||
| .backup/ | ||
| backups/ | ||
| *.tar.gz | ||
| *.tar.bz2 | ||
| *.tar.xz | ||
| *.zip | ||
|
|
||
| # ============================================ | ||
| # Log Files | ||
| # ============================================ | ||
| *.log | ||
| logs/ | ||
| *.log.* | ||
|
|
||
| # ============================================ | ||
| # Temporary Files | ||
| # ============================================ | ||
| *.tmp | ||
| *.temp | ||
| tmp/ | ||
| temp/ | ||
| .tmp/ | ||
| *.swp | ||
| *.swo | ||
| *~ | ||
|
|
||
| # ============================================ | ||
| # Python | ||
| # ============================================ | ||
| __pycache__/ | ||
| *.py[cod] | ||
| *$py.class | ||
| *.so | ||
| .Python | ||
| build/ | ||
| develop-eggs/ | ||
| dist/ | ||
| downloads/ | ||
| eggs/ | ||
| .eggs/ | ||
| lib64/ | ||
| parts/ | ||
| sdist/ | ||
| var/ | ||
| wheels/ | ||
| *.egg-info/ | ||
| .installed.cfg | ||
| *.egg | ||
| MANIFEST | ||
| .pytest_cache/ | ||
| .coverage | ||
| htmlcov/ | ||
| .tox/ | ||
| .hypothesis/ | ||
| *.cover | ||
| .mypy_cache/ | ||
| .dmypy.json | ||
| dmypy.json | ||
| venv/ | ||
| ENV/ | ||
| env/ | ||
| .venv | ||
|
|
||
| # ============================================ | ||
| # Node.js (if any) | ||
| # ============================================ | ||
| node_modules/ | ||
| npm-debug.log | ||
| yarn-error.log | ||
| package-lock.json | ||
| yarn.lock | ||
|
|
||
| # ============================================ | ||
| # IDE and Editor Files | ||
| # ============================================ | ||
| .vscode/ | ||
| .idea/ | ||
| *.sublime-project | ||
| *.sublime-workspace | ||
| .DS_Store | ||
| Thumbs.db | ||
|
|
||
| # ============================================ | ||
| # OS-specific | ||
| # ============================================ | ||
| .DS_Store | ||
| .DS_Store? | ||
| ._* | ||
| .Spotlight-V100 | ||
| .Trashes | ||
| ehthumbs.db | ||
| Desktop.ini | ||
| $RECYCLE.BIN/ | ||
|
|
||
| # ============================================ | ||
| # Testing | ||
| # ============================================ | ||
| test-results/ | ||
| coverage/ | ||
| .nyc_output/ | ||
|
|
||
| # ============================================ | ||
| # Build Artifacts | ||
| # ============================================ | ||
| *.o | ||
| *.a | ||
| *.out | ||
| *.exe | ||
| *.rpm | ||
| *.deb | ||
|
|
||
| # ============================================ | ||
| # SSH and GPG | ||
| # ============================================ | ||
| *.pem | ||
| *.key | ||
| !*.pub | ||
| id_rsa | ||
| id_dsa | ||
| id_ed25519 | ||
| *.ppk | ||
|
|
||
| # ============================================ | ||
| # Database Files | ||
| # ============================================ | ||
| *.sqlite | ||
| *.sqlite3 | ||
| *.db | ||
|
|
||
| # ============================================ | ||
| # Downloaded Software | ||
| # ============================================ | ||
| downloads/ | ||
| src/ | ||
| sources/ | ||
| *.tar.* | ||
| *.tgz | ||
|
|
||
| # ============================================ | ||
| # Custom | ||
| # ============================================ | ||
| # Add your custom ignores here |
42 changes: 42 additions & 0 deletions
CHANGELOG.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| # Changelog | ||
|
|
||
| All notable changes to this project will be documented in this file. | ||
|
|
||
| The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||
| and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
|
||
| ## [Unreleased] | ||
|
|
||
| ### Added | ||
| - Shared common library (`lib/common.sh`) with reusable functions | ||
| - Configuration directory with example templates | ||
| - Project documentation (LICENSE, CONTRIBUTING.md, CHANGELOG.md) | ||
| - .gitignore file for proper version control | ||
|
|
||
| ### Changed | ||
| - Repository structure modernization (in progress) | ||
|
|
||
| ### Deprecated | ||
| - Nothing yet | ||
|
|
||
| ### Removed | ||
| - Nothing yet | ||
|
|
||
| ### Fixed | ||
| - Nothing yet | ||
|
|
||
| ### Security | ||
| - Nothing yet | ||
|
|
||
| --- | ||
|
|
||
| ## [1.0.0] - Previous Version | ||
|
|
||
| ### Initial Scripts | ||
| - Installation scripts for: Ansible, Flask, Jenkins, Nagios, Nginx, Python3, Salt, Squid | ||
| - Miscellaneous utilities: SSH connection checker, backup scripts, password generator, webpage downloader | ||
| - Python scripts: CPU checker, port checker, timer | ||
| - Server management scripts: hostname changer, database creator, user creator, SELinux configurator, email syncer, system stats | ||
|
|
||
| [Unreleased]: https://github.com/yourusername/sysadmin-shell-scripts/compare/v1.0.0...HEAD | ||
| [1.0.0]: https://github.com/yourusername/sysadmin-shell-scripts/releases/tag/v1.0.0 |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.