Need to check where reposync is saving the .rpm files - repository

I am working in a yum repository that is for RHEL6 (This is our copy of the RHEL6 yum repo).
I need to do reposync so that this server can get the latest version of all the packages.
I need to know in which all the rpm packages are getting saved.
Like is there any file that can let me know whenever I am running reposync where the .rpm files are saved?
In short, I want to know, how can I know the name and location of all repositories that my server is hosting. And where the repo files are getting saved.
I have tried looking for the solution on StackOverflow and other sites. I am getting information on how to create a new repo but I couldn't find the answer that I want.

Related

Backpack Permissionmanager not getting install

I am using Laravel Backpack and trying to setup roles and permissions in it.
Command I am using is:
composer require backpack/permissionmanager
It is throwing this error again and again:
Can anyone know why is it so? What else I could do to get it installed?
It looks like your problem is NOT installing backpack/permissionmanager, but in installing backpack/devtools. That is a private package, where you only have access to the dist, not the source.
In short, using Composer you can install things:
(A) from dist - will unzip the package to your vendor directory;
(B) from source - will git clone the package to your vendor directory;
It looks like you're trying to do a git clone for backpack/devtools, but since you do not have access the source, you can't do that.
If you've run the composer command using the --prefer-source flag, don't. Otherwise, check your composer.json file for any mentions of this preference. You should make sure you're downloading from dist, not source.

Upload node modules to nexus

I would like to create a private npm repo on our nexus.
So i guess i need to take the current node_modules folder on my machine and put it in Nexus, right?
I cant proxy npm, because on our jenkins machine we don't have internet access.
So how do i put all my node modules (lots of folders) onto Nexus?
and in what structure and format?
See https://github.com/DarthHater/nexus-repository-import-scripts for uploading a lot of files into NXRM3.
If that doesn't work for you, likely you can modify that script for your needs.

how to install a package in golang

I try to connect to SQL server in golang, I searched in internet and through this address: https://github.com/denisenkom/go-mssqldb I understood that first I need to install a package for the purpose, but when I want to install this package through git terminal by entering this command:
$ go get github.com/denisenkom/go-mssqldb
I receive this error :
can't load package: package github.com/denisenkom/go-mssqldb: no buildable go source files in C:\Go\src\github.com\dnisenkom\go-mssqldb
my $GOPATH is already set.I don't know how to fix this problem ...
According to the golang website:
Get downloads and installs the packages named by the import paths, along with their dependencies.
It sounds like the download isn't working, which is causing the folder to be empty. One alternative is to download the driver as a zip file and run go install on the folder.

Need help installing the MercurialEclipse plugin on an offline machine

MercurialEclipse' homepage has links to an update site and, indirectly, to downloadable archives. I can't use the update site since my machine is not connected to the Internet, so I'm downloading the archive on a connected machine and copying it to the target machine.
But now - what do I do?
Putting the JAR file (com.vectrace.MercurialEclipse_2.1.0.201304290948.jar ) in the 'dropins/' folder has no effect.
Putting the JAR file in the 'plugins/' folder also has no effect
Eclipse will not treat the archive as an update site (using Install New Software | Add)
So how do I install this thing?
These steps are untested but they should replicate the update site on your local file system:
Clone this repository: https://code.google.com/a/eclipselabs.org/p/mercurialeclipse.wiki/
Download the stable plugin jar file from the downloads section and place it in update_site/stable/plugins
Edit update_site/stable/site.xml and remove all the <archive ..> elements.

Patching bazaar explorer

In launching bazar explorer in macosx, a common error arises when i try to view the repository, it say "too many files", a solution has been posted by using a patch over at bazars website (https://bugs.launchpad.net/bzr-explorer/+bug/926439)
.... My question is how do you exactly patch them? I typed "bzr patch " but errors occured, am i missing something here?
The patch applies to the source code of bzr-explorer. You would have to download the source, apply the patch to that and then install it from the patched source.
In detail:
Download bzr-explorer and the patch.
Extract bzr-explorer into a directory which you can access easily from Terminal.
Copy the downloaded patch file into the same directory.
Open Terminal and change to that directory.
Execute the following commands:
patch < workaround-926439.patch
python setup.py install