Comments (3)
Submission: Commit your query via a Pull Request
The first method to submit your query is via a Pull Request. Using a Pull request has several advantages:
- If you are following this course with a mentor, or with co-learners, you may want them to interact with your PR via review, additional commits, etc.
- Creating a PR is good practice when contributing to shared code.
- You will be able to track the execution of the query checker directly in the PR.
However this workflow is bit more involved than just directly committing to master for the purposes of this course.
To submit this query via Pull Request, you can follow the following workflow:
- First, refresh your master branch, commit your changes to a new branch, and push them:
git checkout master git pull git checkout -b step-3 git add . git commit -a -m "First Query" git push -u origin step-3
- Then open a pull request.
- Wait for the course to check your query. It will display a status on your pull request!
- Once the check is completed, refresh your browser to get the next set of instructions.
- If the status is green, merge your PR and follow these instructions.
from codeql-uboot.
Submission: Commit your query directly to master
This method is simpler. You won't have to juggle between branches, rebase onto master, or create Pull Requests. However, merging directly to master is not a good practice when you are contributing to a shared code base, so if you choose this method, please don't take this bad habit home with you!
To submit this query via a direct commit to master, you can follow this workflow:
-
Commit your updated query file to your course repo:
git add . git commit -m "Any message here - why not step 3" git push origin master
-
Wait for your work to be checked, and for the results to appear as a comment below. The checks shouldn't take more than 5 minutes.
If the checks are successful, the course will close this issue and create a comment pointing you to the next step.
If the checks are unsuccessful, the course will comment on your latest commit with more information, so that you can fix your query and try again.To track the execution of the query checker, you can follow along in the Actions panel if you like.
from codeql-uboot.
Congratulations, looks like the query you introduced in d0292fa finds the correct results!
If you created a pull request, merge it.
Let's continue to the next step.
from codeql-uboot.
Related Issues (10)
- Step 1 - Welcome to the course! HOT 1
- Step 2 - Set up your IDE HOT 2
- Step 4 - Anatomy of a query HOT 2
- Step 5 - Using different classes and their predicates HOT 3
- Step 6 - Relating two variables HOT 2
- Step 7 - Relating two variables, continued HOT 2
- Step 8 - Changing the selected output HOT 3
- Step 9 - Write your own class HOT 3
- Step 10 - Data flow and taint tracking analysis HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from codeql-uboot.