WEBVTT 00:00.390 --> 00:02.850 So finally we are you know our last service. 00:02.850 --> 00:09.180 Off shore though of service which is the artifacts very we are going to be creating a new feed which 00:09.180 --> 00:14.150 is gonna be something that our team is gonna be using within our organization. 00:14.160 --> 00:20.800 So if you take an example of any banking companies they are very very secured companies and you cannot 00:20.810 --> 00:26.880 just use any one of the NPM packages which is something outside and you can start of a use it within 00:26.880 --> 00:28.260 your project. 00:28.290 --> 00:34.050 So if you use it then probably you will end up with a lot of security issues which is something reported 00:34.050 --> 00:38.910 by the community and you may not be knowing about all of them and you can straightaway use that package 00:38.910 --> 00:42.980 are the feed from the outside world and you will be affecting the whole security. 00:43.320 --> 00:49.500 And that's the reason these artifacts are the local artifacts are very very handy within these companies. 00:49.500 --> 00:53.370 And that's why this artifacts in Niger is very very handy as well. 00:53.850 --> 00:57.170 So as I've said I want to create my new feed here. 00:57.170 --> 01:01.770 And if I'm creating a new feed I want to do is give it a name for the feed. 01:01.830 --> 01:07.890 So probably I'm going to give this as you to me feed and you can see that this is gonna be applicable 01:08.010 --> 01:14.210 only for the Udemy course project and I'm going to say the visibility who can use this feed is gonna 01:14.220 --> 01:17.880 be the people in good auto or any specific people. 01:17.880 --> 01:22.980 So basically I'm gonna give this access to the whole people within my company which is the aggregate 01:23.010 --> 01:27.510 auto and I'm going to use that package from the public source through this feed. 01:27.510 --> 01:34.770 So this is the feed is gonna be tracking down all the download which is happening within my organization 01:35.280 --> 01:37.640 among all my daughter our communities. 01:37.650 --> 01:42.780 So I'm just gonna create and again see that the feed is kind of created right now. 01:43.350 --> 01:49.980 But once it is created we need to connect this feed within our local machine so that I can start downloading 01:49.980 --> 01:50.580 it. 01:50.580 --> 01:55.830 So if I'm doing that I'm going to hit this connect to feed and you can see it brings me up and a window 01:56.100 --> 02:01.160 and it shows like well which package manager that you'd be connecting with your feet. 02:01.200 --> 02:02.100 It can be a new get. 02:02.100 --> 02:03.140 It can be NPM. 02:03.150 --> 02:10.560 It can be maven great to universal our Python so you can see all these different languages and package 02:10.560 --> 02:15.180 managers you can use within one feed itself which is really really awesome. 02:15.180 --> 02:21.510 So I'm going to be using the new get for now and I'm going to download the new get plus the credential 02:21.510 --> 02:28.020 provider which is gonna be something that will be using across this particular demonstration. 02:28.110 --> 02:33.930 So I'm going to hit this download is down on it right now and then I'm going to unzip this within our 02:33.930 --> 02:41.910 folder see column and then I'm going to add this feed this one the new get dot axes saws add hyphen 02:41.910 --> 02:48.270 name as Udemy feed and this is gonna be the source as you can see the source has this package yesterday 02:48.280 --> 02:54.590 with as your dot com slash execute order for this particular project right. 02:54.690 --> 03:03.700 So I'm just going to copy this and I'm going to go to the command prompt here and then I'm going to 03:03.700 --> 03:10.260 add this particular line so you can see that the package source with the name Udemy feed added successfully 03:10.300 --> 03:16.420 which means the food is currently being added which is awesome and the next thing is I'm going to start 03:16.450 --> 03:24.670 downloading some of the famous New get packages within my local machine so if I'm doing that I'm just 03:24.670 --> 03:35.420 gonna do this new get install and I'm going to say spec flow and I'm going to say the source as you 03:35.510 --> 03:36.560 mean feed. 03:36.600 --> 03:43.680 So this is gonna be my source and I'm going to be using this source for downloading the spec flow. 03:43.770 --> 03:50.400 So basically if you specify a source like you to me feed you are telling that you're going to be downloading 03:50.400 --> 03:56.140 this pretty respectful from the public repo but they are going to add a reference as source as you me 03:56.140 --> 04:02.520 feed so that they you let me feed knows that what you actually trying to download from there and what's 04:02.520 --> 04:06.850 really happening behind the scene all right. 04:06.910 --> 04:09.040 The packages were downloaded right now. 04:09.100 --> 04:17.110 So now if I go to the Udemy feed here let me close this and let me go to the artifact once again and 04:17.110 --> 04:22.960 you can see that all the different packages that I just downloaded came in here like beware the eye 04:23.020 --> 04:30.940 care you can inspect flow and all these packages and you can also see the same within your local machine. 04:30.940 --> 04:33.790 So this is how everything is cast in here. 04:33.790 --> 04:38.110 And if you go to the spec floor you can see that there is this description from the author. 04:38.290 --> 04:42.530 And this is the this is the feed that you can connect with. 04:42.700 --> 04:44.050 So this is the author. 04:44.110 --> 04:49.320 And this is the whole community and all those stuff but you can see that here we have publishers executed 04:49.360 --> 04:54.730 auto using the new get command line this thing which means if you're going to connect this particular 04:54.730 --> 05:02.800 feed within your visual studio then you will get only this particular package which is or here and then 05:02.800 --> 05:04.080 you can start using with it. 05:04.450 --> 05:06.120 So you won't be getting any other packages. 05:06.130 --> 05:12.610 So in any companies that you work with let's say in the banking companies you will be using this particular 05:12.670 --> 05:20.530 package source you are all to connect with the new get packages download so that if you download the 05:20.710 --> 05:26.820 spec flow using this particular feed you'll be getting only this particular version that you have done 05:27.070 --> 05:31.950 just nothing but three point zero point two that two to zero. 05:31.960 --> 05:40.380 So for some reason let's say your company things that these spec flow or version 3 Dodd 0 not 2 2 0 05:40.390 --> 05:47.530 is kind of buggy and it has got some compatibility issues then probably you can delete the latest version 05:47.950 --> 05:51.540 and it says that this version will be unable to build something of that. 05:51.550 --> 05:59.980 So I'm just gonna delete it right now and once it is deleted you can see that this guy is still visible. 05:59.990 --> 06:04.300 Maybe if I just refresh this you're going to see that it has kind of gone right now. 06:04.930 --> 06:11.320 And now if you try to download the deleted version once again let's say I'm just going to install the 06:11.320 --> 06:12.940 spec flow once again. 06:13.210 --> 06:17.560 And now you will see what is going to happen basically and you can see that this time the version is 06:17.560 --> 06:18.540 kind of different. 06:18.550 --> 06:25.680 So just downloading the spec flow through that Zero Dark 2 1 3 not the version which was dead before. 06:25.750 --> 06:27.490 So you can see that it is downloaded. 06:27.570 --> 06:31.220 Now if I go to the new get you can see that I have two versions here. 06:31.240 --> 06:34.210 So right now it is not downloading the latest version. 06:34.210 --> 06:40.610 Rather it is downloading a little older version from the latest version itself which is really awesome. 06:40.610 --> 06:46.720 And now you can see the latest version is sitting in the recycle bin of our artifacts. 06:46.780 --> 06:51.650 You can probably restore this to get the latest version back and things of that nature. 06:51.760 --> 06:54.030 So you can do all sort of jazz in here. 06:54.100 --> 07:00.670 And also if you want to see the deleted packages within this particular view you can go to the setting 07:01.600 --> 07:03.370 of the feed settings. 07:03.370 --> 07:09.300 You can see there is something called us hydrated packages that you can remove this and he's safe. 07:09.910 --> 07:17.680 And you can also see the permissions that you can give for Home and The View's like what is the view 07:17.680 --> 07:23.440 that you want to see and the upstream source and stuffs and you can also add any new up streams if you 07:23.440 --> 07:24.130 want. 07:24.340 --> 07:27.140 So you can do all sort of stuff in here. 07:27.410 --> 07:35.430 And now if you go to the Udemy feed and if you try to refresh this guy you can see that the deterioration 07:35.450 --> 07:41.630 of spec flow is also visible to authorities in the cross here which says that it is kind of a leader 07:41.930 --> 07:43.710 and this version you should not be using. 07:44.120 --> 07:51.250 So you can see that for this I get an option to do some stuffs in here but for this particular aspect 07:51.250 --> 07:53.180 flow I don't really get any option. 07:53.180 --> 07:55.730 The reason is because this is kind of deleted right now. 07:55.730 --> 08:02.690 So this is how we can work with the artifacts in Niger and these are very handy to work with within 08:02.690 --> 08:08.450 your organization and control the feed that you should be using within your company.