So finally we are you know our last service.
Off shore though of service which is the artifacts very we are going to be creating a new feed which
is gonna be something that our team is gonna be using within our organization.
So if you take an example of any banking companies they are very very secured companies and you cannot
just use any one of the NPM packages which is something outside and you can start of a use it within
your project.
So if you use it then probably you will end up with a lot of security issues which is something reported
by the community and you may not be knowing about all of them and you can straightaway use that package
are the feed from the outside world and you will be affecting the whole security.
And that's the reason these artifacts are the local artifacts are very very handy within these companies.
And that's why this artifacts in Niger is very very handy as well.
So as I've said I want to create my new feed here.
And if I'm creating a new feed I want to do is give it a name for the feed.
So probably I'm going to give this as you to me feed and you can see that this is gonna be applicable
only for the Udemy course project and I'm going to say the visibility who can use this feed is gonna
be the people in good auto or any specific people.
So basically I'm gonna give this access to the whole people within my company which is the aggregate
auto and I'm going to use that package from the public source through this feed.
So this is the feed is gonna be tracking down all the download which is happening within my organization
among all my daughter our communities.
So I'm just gonna create and again see that the feed is kind of created right now.
But once it is created we need to connect this feed within our local machine so that I can start downloading
it.
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
and it shows like well which package manager that you'd be connecting with your feet.
It can be a new get.
It can be NPM.
It can be maven great to universal our Python so you can see all these different languages and package
managers you can use within one feed itself which is really really awesome.
So I'm going to be using the new get for now and I'm going to download the new get plus the credential
provider which is gonna be something that will be using across this particular demonstration.
So I'm going to hit this download is down on it right now and then I'm going to unzip this within our
folder see column and then I'm going to add this feed this one the new get dot axes saws add hyphen
name as Udemy feed and this is gonna be the source as you can see the source has this package yesterday
with as your dot com slash execute order for this particular project right.
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
add this particular line so you can see that the package source with the name Udemy feed added successfully
which means the food is currently being added which is awesome and the next thing is I'm going to start
downloading some of the famous New get packages within my local machine so if I'm doing that I'm just
gonna do this new get install and I'm going to say spec flow and I'm going to say the source as you
mean feed.
So this is gonna be my source and I'm going to be using this source for downloading the spec flow.
So basically if you specify a source like you to me feed you are telling that you're going to be downloading
this pretty respectful from the public repo but they are going to add a reference as source as you me
feed so that they you let me feed knows that what you actually trying to download from there and what's
really happening behind the scene all right.
The packages were downloaded right now.
So now if I go to the Udemy feed here let me close this and let me go to the artifact once again and
you can see that all the different packages that I just downloaded came in here like beware the eye
care you can inspect flow and all these packages and you can also see the same within your local machine.
So this is how everything is cast in here.
And if you go to the spec floor you can see that there is this description from the author.
And this is the this is the feed that you can connect with.
So this is the author.
And this is the whole community and all those stuff but you can see that here we have publishers executed
auto using the new get command line this thing which means if you're going to connect this particular
feed within your visual studio then you will get only this particular package which is or here and then
you can start using with it.
So you won't be getting any other packages.
So in any companies that you work with let's say in the banking companies you will be using this particular
package source you are all to connect with the new get packages download so that if you download the
spec flow using this particular feed you'll be getting only this particular version that you have done
just nothing but three point zero point two that two to zero.
So for some reason let's say your company things that these spec flow or version 3 Dodd 0 not 2 2 0
is kind of buggy and it has got some compatibility issues then probably you can delete the latest version
and it says that this version will be unable to build something of that.
So I'm just gonna delete it right now and once it is deleted you can see that this guy is still visible.
Maybe if I just refresh this you're going to see that it has kind of gone right now.
And now if you try to download the deleted version once again let's say I'm just going to install the
spec flow once again.
And now you will see what is going to happen basically and you can see that this time the version is
kind of different.
So just downloading the spec flow through that Zero Dark 2 1 3 not the version which was dead before.
So you can see that it is downloaded.
Now if I go to the new get you can see that I have two versions here.
So right now it is not downloading the latest version.
Rather it is downloading a little older version from the latest version itself which is really awesome.
And now you can see the latest version is sitting in the recycle bin of our artifacts.
You can probably restore this to get the latest version back and things of that nature.
So you can do all sort of jazz in here.
And also if you want to see the deleted packages within this particular view you can go to the setting
of the feed settings.
You can see there is something called us hydrated packages that you can remove this and he's safe.
And you can also see the permissions that you can give for Home and The View's like what is the view
that you want to see and the upstream source and stuffs and you can also add any new up streams if you
want.
So you can do all sort of stuff in here.
And now if you go to the Udemy feed and if you try to refresh this guy you can see that the deterioration
of spec flow is also visible to authorities in the cross here which says that it is kind of a leader
and this version you should not be using.
So you can see that for this I get an option to do some stuffs in here but for this particular aspect
flow I don't really get any option.
The reason is because this is kind of deleted right now.
So this is how we can work with the artifacts in Niger and these are very handy to work with within
your organization and control the feed that you should be using within your company.