From the course: Practical GitHub Copilot
Getting the repo - Github Copilot Tutorial
From the course: Practical GitHub Copilot
Getting the repo
- [Instructor] Before we get started we'll need some files that we can work with. Now I've prepared a repository with some files that you can use to follow along. Now, normally I like to use Codespaces to work on my projects, but the problem is that I need to use the nightly version of Visual Studio Code and some other cutting edge extensions that are experimental. So I'm going to need to clone this repository to my hard drive. So I'm going to go here to the Code section and I'm going to click on this link. Then I'm going to use a terminal. I like to use the hyper application and I'll make sure that I'm in the desktop. And then I'll issue a git clone with the URL of the repository. Now this is going to download the finished version of the project. Now this is an advanced course so I'm assuming you understand how to work with GitHub, the Terminal, and repos. If not, please take a look at one of my other courses, Learning Git and GitHub. We're also going to be using Python in this course so I'm assuming that you have that installed. If not, you can take a look at one of our courses on Python. Let's go ahead and clear this out and I'll get out of Hyper, and I should see this GitHub practical copilot repository in my desktop. Now I'm going to open this up and I want to make sure that I use the Visual Studio Code Insiders version to open this up. When you open this up it should have the finished version of the project. I need to switch to the proper branch. So I'm going to go to the 0103 branch, which is the current video that you're watching right now. Now, in here you'll notice that you have an audio folder with some audio files, an images folder with some artwork, as well as this YAML file with some information. Now, this may seem familiar to you if you took my other course Practical GitHub Actions. Now, in that course I showed you how you can take this YAML file and convert it into an XML as an RSS feed using GitHub actions. Now, I use this file to create a weekly podcast that I do call the Future in Tech. The problem that I always have is that I always end up typing this information for every one of the files and I have to find the length of the files in the operating system, plus the duration of each audio file, the location of the documents. It's really in this audio folder. And then I have to look up the description as well as the title, and I want to simplify that process and I'm going to use Python to take care of that. But I want to get all this information from the files themselves. So if I right click on this and I say Reveal in Finder I'm using a Mac here, I should be able to get to the list of files. So you can also just go to the folder and open it up like that. So from here, if I do a get info on a Mac I'll be able to see something called the ID 3 tags. These are tags that you can embed in any MP3 file that have a lot of information that you might use for some things. You can see that everything that I need is right here. It has the file size as well as the title of the show. It has the title of the episode plus a really good description for each episode. So I have to type all these in when I create the MP3 files. And so this will save me a few steps if I can create something that will do that automatically for me. So when you want to show that you understand a technology like GitHub copilot you want to show it through a project that you've built and any project that's going to be better if it's something that is solving a problem for you. Now for me, this is a fantastic problem to solve because it's going to save me a lot of time. But you need to find your own project that is going to showcase how you were thinking and how you solved your own personal problem.