This shows you the differences between two versions of the page.
ii:labs:04 [2022/11/23 19:03] florin.stancu |
ii:labs:04 [2024/11/20 16:02] (current) florin.stancu created |
||
---|---|---|---|
Line 1: | Line 1: | ||
~~NOTOC~~ | ~~NOTOC~~ | ||
- | ====== Lab 04 - Advanced Version Control - Git ====== | + | ====== Lab 04 - Python Discord Bot ====== |
===== Objectives ===== | ===== Objectives ===== | ||
- | * Setting up **gpg** for commit signing | + | * Using virtual environments and **pip** |
- | * Applying a free-software license to your code | + | * Debugging scripts |
- | * Learning to use branches and to rebase commits | + | * Understanding public APIs |
===== Contents ===== | ===== Contents ===== | ||
Line 16: | Line 16: | ||
===== Proof of Work ===== | ===== Proof of Work ===== | ||
- | By now, everyone should have gone over the [[https://ocw.cs.pub.ro/courses/uso/laboratoare/laborator-08|6th USO lab]]. So, you probably have a basic notion of how to use **git**. Our goal is to expand on what you already know from USO and discuss some practices that will hopefully be useful to you when deciding to contribute to open-source projects. In doing so, we'll inevitably stumble upon different subjects such as encryption, digital signatures and key management. Although related to the tasks at hand, these concepts are not relevant enough to spend a significant portion on this lab explaining them in detail. If you want to know more about one thing or another, just ask the assistant. | + | Today we're picking up where we left off last time. By now you should already know the basics of working with //Python//, Virtual Environments and PIP package management. Developing a project in //Python// however, requires more than interacting with a shell or editing some scripts. In this lab, you will (hopefully) learn to use remote services, debug errors in your scripts and, one of the most important skills, how to consult an official API documentation. |
- | As today's proof of work you will create a //public// GitHub repository which you'll populate and modify according to each task. As for the [[https://curs.upb.ro/2021/course/view.php?id=5793|moodle]] assignment, upload a file containing a link to your repository's GitHub page and optionally, proof that you've submitted the feedback form. | + | As a more tangible goal, you will have to write your very own [[https://discord.com/|discord]] music bot! Exciting stuff, right? |
===== Tasks ===== | ===== Tasks ===== | ||
{{namespace>:ii:labs:04:tasks&nofooter&noeditbutton}} | {{namespace>:ii:labs:04:tasks&nofooter&noeditbutton}} | ||
+ |