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

Test for display test_5 #5

Open
wants to merge 143 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
143 commits
Select commit Hold shift + click to select a range
de37e83
Test for display
rajuljha Jun 13, 2024
e85ae4c
Test custom keyword.conf
rajuljha Jun 16, 2024
e1ad14b
Correctworkflow by using custom image and try for new test cases
rajuljha Jun 16, 2024
a23abdd
Change version to v8
rajuljha Jun 16, 2024
1b54c47
Change version to v3
rajuljha Jun 16, 2024
2bbeaf8
Change workflow file
rajuljha Jun 20, 2024
2f99880
Change worflow file
rajuljha Jun 20, 2024
ea3255c
Merge branch 'main' into test_5
rajuljha Jun 20, 2024
5797cbb
Upload image as artifact GH action
rajuljha Jun 20, 2024
f323744
Save image as artifact
rajuljha Jun 20, 2024
80daad7
Test copyright
rajuljha Jun 20, 2024
0cd51fc
Correct workflow file
rajuljha Jun 20, 2024
56d6534
Change input type field
rajuljha Jun 20, 2024
f23fea5
Add file path as env var
rajuljha Jun 20, 2024
97062b8
On pull request add :nervous:
rajuljha Jun 20, 2024
101a859
try new syntax
rajuljha Jun 20, 2024
7e7c6cb
change to two different jobs
rajuljha Jun 20, 2024
6dfa81d
Check conditionally
rajuljha Jun 20, 2024
3d17480
Check conditionally
rajuljha Jun 20, 2024
7ef0714
Check conditionally
rajuljha Jun 20, 2024
f54a669
Check conditionally
rajuljha Jun 20, 2024
307f48c
Check conditionally
rajuljha Jun 20, 2024
98f5d22
Change branch to keyword_testing to be fetched
rajuljha Jun 20, 2024
9d69fa0
Print new vars for testig
rajuljha Jun 20, 2024
47d493d
Print new vars for testig
rajuljha Jun 20, 2024
a76093c
Print new vars for testig
rajuljha Jun 20, 2024
6fda6fa
Print new vars for testig
rajuljha Jun 20, 2024
db512f9
Print new vars for testig
rajuljha Jun 20, 2024
9bdd383
Test again :phew:
rajuljha Jun 20, 2024
8af007b
Test again :phew:
rajuljha Jun 20, 2024
3724b5d
Test again :phew:
rajuljha Jun 20, 2024
7ab038a
Test again :phew:
rajuljha Jun 20, 2024
15ad590
Test again :phew:
rajuljha Jun 20, 2024
2613cc4
Test again :add new workflow for sshing into runner
rajuljha Jun 20, 2024
57b1bdb
Add volume to given file inside container
rajuljha Jun 21, 2024
692cb30
Merge branch 'main' into test_5
rajuljha Jun 21, 2024
4c91c6d
Add volume to given file inside container : Correct syntac
rajuljha Jun 21, 2024
3d65d2b
Change file path in command
rajuljha Jun 21, 2024
eca82c9
Change test_keyword.conf file
rajuljha Jun 21, 2024
9c87b87
fix(actions) : Change branch of repo to be built to custom_keyword_co…
rajuljha Jun 21, 2024
1ec9db2
Change test_keyword.conf
rajuljha Jun 21, 2024
f73dd85
Add new files for verison upgrade
rajuljha Jun 24, 2024
eeb8242
Add trees
rajuljha Jun 24, 2024
2354eef
Add queues
rajuljha Jun 24, 2024
8c698c2
Add foss-action and test licenses
rajuljha Jul 6, 2024
6e7723d
Compare v005 and v010
rajuljha Jul 6, 2024
f0ea712
Compare v005 and v004
rajuljha Jul 6, 2024
2a7c12d
Test with line number
rajuljha Jul 6, 2024
ff00e23
repo scan test
rajuljha Jul 6, 2024
96f2a77
repo scan test
rajuljha Jul 6, 2024
6966b51
repo scan test
rajuljha Jul 6, 2024
14c22a9
repo scan test
rajuljha Jul 6, 2024
7c86ac6
repo scan test
rajuljha Jul 6, 2024
c7b74b3
Test keyword conf
rajuljha Jul 9, 2024
91df711
Test keyword conf
rajuljha Jul 9, 2024
cc85b68
Test keyword conf
rajuljha Jul 9, 2024
93fbacc
Test keyword conf
rajuljha Jul 9, 2024
861aa0b
test allowlist
rajuljha Jul 9, 2024
b01f779
test allowlist
rajuljha Jul 9, 2024
9d672d0
test allowlist
rajuljha Jul 9, 2024
47019bd
test allowlist and warning
rajuljha Jul 9, 2024
7ea92db
Test
rajuljha Jul 10, 2024
1a974f6
Test ln
rajuljha Jul 10, 2024
6c9d57d
Test ln + rport
rajuljha Jul 10, 2024
ff48dc5
test ln and reports
rajuljha Jul 10, 2024
2657fbe
test ln with report
rajuljha Jul 10, 2024
6373bc1
Test yaml report
rajuljha Jul 10, 2024
16795a4
test repo scan
rajuljha Jul 10, 2024
6a90d36
test repo scan
rajuljha Jul 10, 2024
60459ba
test repo scan
rajuljha Jul 10, 2024
adb8b29
test
rajuljha Jul 10, 2024
f41cc5e
Test fossology action v1
rajuljha Jul 15, 2024
d576979
test with pwd
rajuljha Jul 15, 2024
b10e348
test with ls
rajuljha Jul 15, 2024
3b2b303
test wit ls
rajuljha Jul 15, 2024
a68f90b
test with ls
rajuljha Jul 15, 2024
e6ddf04
test with gh workspace
rajuljha Jul 15, 2024
3ec4059
test with checkout
rajuljha Jul 15, 2024
0eab2c7
remove script.sh
rajuljha Jul 15, 2024
42c5eb0
test fossology action
rajuljha Jul 15, 2024
64b107a
random name
rajuljha Jul 16, 2024
7d3a944
random name
rajuljha Jul 16, 2024
bb181d1
Add suggested name
rajuljha Jul 16, 2024
62836a8
test custom inputs fossology action
rajuljha Jul 17, 2024
e3870a7
test custom inouts fossology action
rajuljha Jul 17, 2024
3838dff
test script.sh
rajuljha Jul 24, 2024
1f8582a
check with updated perms
rajuljha Jul 24, 2024
c5e1446
test new stuff
rajuljha Jul 24, 2024
131e7ea
test new stuff
rajuljha Jul 24, 2024
d1734fc
new test
rajuljha Jul 24, 2024
7ca6420
new test
rajuljha Jul 24, 2024
c857490
new test
rajuljha Jul 24, 2024
f8e36f0
new test
rajuljha Jul 24, 2024
0cd04d8
new test
rajuljha Jul 24, 2024
8239c4d
new test
rajuljha Jul 24, 2024
a433895
new test
rajuljha Jul 24, 2024
e6fd15c
new test
rajuljha Jul 24, 2024
eb388fb
new test
rajuljha Jul 24, 2024
46eb392
test
rajuljha Jul 24, 2024
806aeab
test
rajuljha Jul 24, 2024
c0bdab0
test
rajuljha Jul 24, 2024
492be79
test
rajuljha Jul 24, 2024
68bf555
test
rajuljha Jul 24, 2024
51207bb
new approach
rajuljha Jul 25, 2024
d2ad770
new approach
rajuljha Jul 25, 2024
181be52
new approach
rajuljha Jul 25, 2024
dbec6a5
final test
rajuljha Jul 25, 2024
3896a4f
test release v16
rajuljha Jul 25, 2024
d50807b
test release v17
rajuljha Jul 25, 2024
2c34829
final test
rajuljha Jul 25, 2024
258ec44
test debug
rajuljha Jul 25, 2024
3d2d9ed
testing
rajuljha Jul 25, 2024
e9b9ed5
Test SBOM
rajuljha Jul 28, 2024
d8bcac2
Test SBOM
rajuljha Jul 28, 2024
7512114
Test foss-action-python
rajuljha Aug 4, 2024
6f27e17
Test foss-action-python
rajuljha Aug 4, 2024
5b366bf
Test foss-action-python
rajuljha Aug 4, 2024
41f810d
Remove set output step
rajuljha Aug 4, 2024
8843a79
Remove set output step
rajuljha Aug 4, 2024
18ec8a2
New test
rajuljha Aug 4, 2024
afb4c7d
debug
rajuljha Aug 4, 2024
323707e
debug
rajuljha Aug 4, 2024
b43b9c9
debug
rajuljha Aug 4, 2024
17dec22
debug
rajuljha Aug 4, 2024
d7557b9
debug
rajuljha Aug 4, 2024
bebffa9
entryppint
rajuljha Aug 4, 2024
dc1e40f
entryppint
rajuljha Aug 4, 2024
4f2e618
mew
rajuljha Aug 4, 2024
0156ed9
blash
rajuljha Aug 4, 2024
e308d3f
Test new approach
rajuljha Aug 5, 2024
070fb92
NA 2
rajuljha Aug 5, 2024
6647f3b
NA 3
rajuljha Aug 5, 2024
9e27b35
NA 3
rajuljha Aug 5, 2024
0a6bc6f
test new
rajuljha Aug 5, 2024
b332bcb
new
rajuljha Aug 5, 2024
0933e45
new
rajuljha Aug 5, 2024
20813fd
new
rajuljha Aug 5, 2024
cb8b304
woah
rajuljha Aug 5, 2024
a656d0a
woah
rajuljha Aug 5, 2024
c8f561e
woah
rajuljha Aug 5, 2024
793fe34
Final
rajuljha Aug 5, 2024
e5b75eb
Final
rajuljha Aug 5, 2024
49680be
Yo
rajuljha Aug 23, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 50 additions & 0 deletions .github/workflows/foss-action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Check foss-action

on:
pull_request:
#
jobs:
compliance_check:
runs-on: ubuntu-latest
name: Perform Fossology Scan
steps:
- name: Checkout this repo
uses: actions/checkout@v4

# - uses: valeriangalliat/action-sshd-cloudflared@v1

# - name: Debug env vars
# run: |
# echo $INPUT_ENVIRONMENT
# echo $INPUT_REQUIREMENTS
# echo $INPUT_PIPENV
# echo $INPUT_POETRY
# echo $GITHUB_ACTION
# echo $GITHUB_WORKSPACE
# echo #GITHUB_ENV

- name: Generate Python SBOM
id : generate_sbom
uses: rajuljha/foss-action-python@v16
with:
requirements: true

- name: Use SBOM File
run: |
echo "SBOM file path: ${{ steps.generate_sbom.outputs.sbom_file_path }}"
echo "SBOM file path: "${{ github.workspace }}/sbom_py.json""
ls "${{ github.workspace }}"
cat "${{ github.workspace }}/sbom/sbom_py.json"

# - name: Run foss-action
# uses: rajuljha/fossology-action@v20
# with:
# scan_mode: "repo"
# scanners: "nomos ojo copyright keyword"
# # from_tag: "v005"
# # to_tag: "v004"
# allowlist_file_path: "whitelist.json"
# keyword_conf_file_path: "test_keyword.conf"
# report_format: "SPDX_YAML"
# # download_deps: True
# sbom_folder: "${{ github.workspace }}/sbom"
102 changes: 0 additions & 102 deletions .github/workflows/fossology-scan.yaml

This file was deleted.

12 changes: 0 additions & 12 deletions .github/workflows/sbom-generate.yml

This file was deleted.

9 changes: 0 additions & 9 deletions .github/workflows/test_actions_via_ssh.yaml

This file was deleted.

6 changes: 4 additions & 2 deletions BrainByte/chatbot/chatbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
)


# orthogonally testing my new keyword

def format_prompt(message, history):
prompt = "<s>"
for user_prompt, bot_response in history:
Expand Down Expand Up @@ -41,7 +43,7 @@ def generate(
yield output
return output


# Copyright 2024 @ Test 3 <[email protected]>
additional_inputs=[
gr.Slider(
label="Temperature",
Expand Down Expand Up @@ -88,7 +90,7 @@ def generate(
border: 1px solid #ccc;
}
"""

# owned_by Rajul Jha
with gr.Blocks(css=css) as app:
gr.HTML("<h1><center>EduAI Chatbot</center></h1>")
gr.HTML("<h3><center>Welcome to your own chatbot</center></h3>")
Expand Down
1 change: 1 addition & 0 deletions BrainByte/courses/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
licensed under MIT License New and GPL License Also New Test
2 changes: 2 additions & 0 deletions BrainByte/eduai/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

User = get_user_model()

# housing under Rajul Jha Corporation nonsense comment.. haha

class Question(models.Model):
text = models.TextField()
question_type = models.CharField(max_length=255)
Expand Down
3 changes: 3 additions & 0 deletions BrainByte/home/admin.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
from django.contrib import admin

# Register your models here.

# SPDX-FileContributor: Gaurav Mishra <[email protected]>
# Copyright 2024 @ Test <[email protected]>
1 change: 1 addition & 0 deletions BrainByte/home/tests.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from django.test import TestCase

# Create your tests here.
# Copyright 2024 @ Test_2 <[email protected]>
4 changes: 2 additions & 2 deletions BrainByte/templates/courses/playlist.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ <h2 class="text-center text-3xl font-bold mb-10">{{ topic_name }}</h2>
href="{{ course.link }}"
target="_blank"
class="inline-block bg-black text-white rounded-full px-3 py-1 text-sm font-semibold mr-2 mb-2"
>Watch on YouTube</a
>
>Watch on YouTube</a>
{% comment %} Licensed under MIT license {% endcomment %}
</div>
</div>
{% empty %}
Expand Down
4 changes: 4 additions & 0 deletions BrainByte/templates/home/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
</head>
<body class="font-mono">
<header>

{% comment %} Copyright 2024 @ Batman {% endcomment %}

<nav class="bg-black text-white">
<div
class="container mx-auto px-4 py-4 flex justify-between items-center"
Expand Down Expand Up @@ -56,3 +59,4 @@ <h3 class="font-bold text-lg mb-4">Follow Us</h3>
</footer>
</body>
</html>
{% comment %} Protected by Batman {% endcomment %}
9 changes: 9 additions & 0 deletions LICENSES/BSD-3-Clause.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Copyright (c) <year> <owner>.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1 change: 1 addition & 0 deletions LICENSES/FSFAP.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty.
Loading