Skip to content

Comments

Add Contributing support / Improve Getting Started / minor clean-up#55

Open
hdub-tech wants to merge 12 commits intoschlpr0k:mainfrom
hdub-tech:feature/contributing-support
Open

Add Contributing support / Improve Getting Started / minor clean-up#55
hdub-tech wants to merge 12 commits intoschlpr0k:mainfrom
hdub-tech:feature/contributing-support

Conversation

@hdub-tech
Copy link
Collaborator

@hdub-tech hdub-tech commented Jul 31, 2025

Checklist

  • I have reviewed the Code of Conduct and CONTRIBUTING guide
  • I have tested my changes and provided evidence below
  • I have updated documentation for new/changed functionality
  • All active GitHub checks for tests, formatting, and security related to my changes are passing
  • This PR does NOT 🚨 contain breaking (not reverse compatible) changes

What this PR does / why we need it

Tip

While this PR DOES utilize the new PR Template, it is a poor example of breaking up work, even if it really does meet the (mostly) singular goal of adding support for Contributors to resolve #54. Try to be better than me in breaking up work. 😅

This pull request:

User facing changes

None (all changes are "under the hood")

Contributor facing changes

The following shows some of the contributor facing changes introduced in this PR

.gitignore file for *.swp and .vagrant:
Screenshot from 2025-08-01 17-47-46

Update PR Template:
Screenshot from 2025-08-01 17-11-46
Screenshot from 2025-08-01 17-12-11

Notes for the reviewer

  1. The decision to rename functions to functions.sh stemmed from a previous discussion (Rename main files based on types #2), but came to the forefront when writing the linter script. It allows for using a find on *.sh files without needing to hardcode filenames. This tactic was also used in provisioning the new Vagrant VMs.

Testing / How to verify it

Note

Tests for the following were excluded because they are physically not testable until after this PR is merged.

  • The updated redirect to the Discussions page from the Help & Questions section of the New Issue dialog
  • The GitHub action for linting
  • The population of new PRs with the PULL_REQUEST_TEMPLATE

  • Tested that ironjump shortcut read prompt still works after shellcheck cleanup on SERVER with Ubuntu 24.04 (VM)
Details

Steps:

  1. Access the SERVER
  2. Confirm no existing ironjump shortcut
  3. Run sudo /opt/IronJump/IronJump.sh to be prompted to press ENTER to continue
  4. Observe ENTER works and redirected to Main Menu
    Screencast from 2025-07-26 00-09-13.webm

  • Tested that missing autossh read prompt still works after shellcheck cleanup, and now displays the correct git url on SERVER with Ubuntu 24.04 (VM)
Details

Steps:

  1. Access the SERVER
  2. Confirm no autossh directory
  3. Run sudo ironjump to be scolded and observe the corrected URL
  4. Press ENTER to continue
  5. Observe ENTER works and redirected to Main Menu
    Screencast from 2025-07-26 00-58-34.webm

  • Tested that renaming functions script did not have adverse effects on SERVER or ENDPOINT with Ubuntu 24.04 (VM)
Details

Steps:

  1. Follow steps in CONTRIBUTING guide section "Development/Test Environment setup" to set-up a Server and register an Endpoint with it.

  2. Observe Server and Endpoint set-up is successful
    Server, with endpoint connected
    Screenshot from 2025-08-01 19-11-38
    Screenshot from 2025-08-01 19-11-55


    Endpoint, connected to server
    Screenshot from 2025-08-01 19-12-30
    Screenshot from 2025-08-01 19-12-20


  • Confirmed new pre-commit.sh script works when run manually with no arguments, -h arg, -s SHELLCHECK_FORMAT arg, and fails as expected with various negative cases, and passes linter
Details Screenshot from 2025-07-28 18-42-39 Screenshot from 2025-07-25 22-05-45

  • Confirmed new pre-commit.sh script works as a git hook to block commits (Even though project is not at stage to recommend this usage yet)
Details image Screenshot from 2025-07-25 21-58-32

Release Note

All changes are either under the hood or contributor facing only.

None

@hdub-tech hdub-tech added documentation Improvements or additions to documentation enhancement New feature or request process testing Related to testing or test environments linting Related to linting (shellcheck) labels Jul 31, 2025
@hdub-tech hdub-tech force-pushed the feature/contributing-support branch from c0fcb59 to a9b6321 Compare August 1, 2025 06:23
@hdub-tech hdub-tech force-pushed the feature/contributing-support branch from 6436dc9 to e0ee906 Compare August 1, 2025 22:09
@hdub-tech hdub-tech changed the title DRAFT: Feature/contributing support Add Contributing support / Improve Getting Started / minor clean-up Aug 2, 2025
@hdub-tech hdub-tech marked this pull request as ready for review August 2, 2025 00:37
@hdub-tech hdub-tech requested a review from schlpr0k August 2, 2025 00:37
Comment on lines +65 to +72
### System Requirements

IronJump is lightweight and can operate with minimum OS system requirements. The
following represents the suggested system requirements for running on Ubuntu.

* CPUs: 1
* Memory: 4GB
* Disk space: 10GB (If headless)
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Spot check these Sys reqs for me please @schlpr0k

Comment on lines +101 to +111
<!--
See sample release notes here: https://git.k8s.io/community/contributors/guide/release-notes.md
- If no release note is needed, write 'None'
- If you would like us to create one, write 'SUGGESTIONS_WELCOME'
- If this PR contains multiple Release Note worthy items, put one per line in
the block (Next time, try to break it up into multiple PRs, but we have
definitely all done it before, so no worries!)
-->
```release-note
ONE_LINE_RELEASE_NOTE_HERE
```
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I took this idea from the buildah project, which has automation that parses out release notes, which I thought I would explore in the future

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This document should contain all the knowledge on how to use everything added with this PR. If you read one thing, let it be this. (Click the ... > View File to see it in Markdown format)

Comment on lines +7 to +13
on:
pull_request:
branches:
- main
paths:
- '**/*.sh'
workflow_dispatch:
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This lint workflow will run in two scenarios:

  1. When a PR is opened against main with changes to *.sh files
  2. If someone navigates to Actions > Linting > and clicks "Run Workflow"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request linting Related to linting (shellcheck) process testing Related to testing or test environments

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add documentation and support for contributors Enable Discussions tab in IronJump github project

1 participant