Questions tagged [vendor]

399 questions
104
votes
5 answers

What is "vendoring"?

What is "vendoring" exactly? How would you define this term? Does it mean the same thing in different programming languages? Conceptually speaking, not looking at the exact implementation.
Niels Bom
  • 8,728
  • 11
  • 46
  • 62
41
votes
1 answer

How to include vendor js in Rails 3.1

I have a js vendor script called Corners.js located in /vendor/assets/javascripts/ How do i include the js vendor script?
Casper larsen
  • 411
  • 1
  • 4
  • 3
33
votes
1 answer

How should I use vendor in Go 1.6?

First I have read this answer: Vendoring in Go 1.6, then I use it as my example. My gopath is GOPATH="/Users/thinkerou/xyz/", and the follow like: thinkerou@MacBook-Pro-thinkerou:~/xyz/src/ou$…
thinkerou
  • 1,781
  • 5
  • 17
  • 28
24
votes
3 answers

What are the benefits of having a vendor folder?

I can't really grasp the purpose of having a vendor folder. Based on what I learned, it seems the vendor folder is only beneficial if you're trying to make your repo compatible with golang versions earlier than 1.11. We are running golang…
Daniel Kobe
  • 9,376
  • 15
  • 62
  • 109
18
votes
7 answers

Git ignore .git folder

I have a php project that uses composer for package management. One of the packages is another project belonging to the same repo. I have a need to commit my entire vendor folder, but I want to ignore the .git folder in the sub-project so that it…
bluemoonballoon
  • 299
  • 1
  • 2
  • 8
16
votes
5 answers

How to import vendor files in CakePHP 3x

I'm working with CakePHP 3(beta 2) version recently launched. I need to integrate Facebook Login using PHP SDKs and I'm not clear with importing vendor files in this version. In CakePHP 2x, I had used App::import('Vendor', 'Facebook', array('file'…
G.J
  • 477
  • 1
  • 7
  • 22
16
votes
5 answers

How to get Vendor ID of an Android-powered device via adb?

I have a problem with how to get vendor ID and product ID of an Android-powered device. Are there any commands of adb that can do this? I can get vendor id and product id while device inserted, but after installing windows drivers, I could not tell…
user1323681
  • 231
  • 2
  • 3
  • 4
13
votes
2 answers

composer install from two composer.json file

I have multiple composer.json having multiple seperate dependency and want to install all the dependency in the both composer.json using single composer install command. The location is like this: | - composer.json | - Custom | - Package1 …
PaladiN
  • 4,625
  • 8
  • 41
  • 66
11
votes
1 answer

How to generate laravel composer.json from a vendor directory?

In my Laravel project the composer.json and composer.lock files were deleted and I don't know how to rebuild the composer.json file from an existing vendor directory .
Amine
  • 133
  • 1
  • 2
  • 9
10
votes
1 answer

Rails 3.1 asset pipeline vendor/assets folder organization

I'm using the jQuery Tools scrollable library in my Rails 3.1 site with the various assets placed in the vendor/assets folder and it works great. My question is regarding the best way to organize the various files under vendor/assets. What is the…
J Graham
  • 181
  • 1
  • 7
10
votes
4 answers

Undefined variable: _ENV in Laravel 5.3

I was testing my system with Laravel 5.3: For past few weeks my system was working fine. Since last weekend, I encountered the same error TWICE as below:- Notice: Undefined variable: _ENV in…
yyii
  • 143
  • 2
  • 12
10
votes
2 answers

panic: http: multiple registrations for /debug/requests

I vendored two projects in my go project. And I successfully compiled my project. When I ran my project, it reported error "panic: http: multiple registrations for /debug/requests". The detailed errors is shown below. goroutine 1…
Chalex
  • 321
  • 2
  • 9
10
votes
1 answer

Importing local changes of a package without pushing code in Golang

I' am learning Golang now-a-days and a total newbie. I have a question regarding packages. Consider the following scenario: Imagine I have a package github.com/ilatif/A in which I' am importing another package github.com/ilatif/B, like: import…
Imran Latif
  • 985
  • 8
  • 21
10
votes
2 answers

What if I don't want to do composer update, I just want to use what ever in composer.json and composer.lock

I have an old composer based symfony project, that I just updated with some changes of code. I tested in development everything works fine. I have got issue when deploying the composer asked to run composer.phar self-update to update the composer…
Suracheth Chawla
  • 984
  • 1
  • 9
  • 20
9
votes
3 answers

What is the best way to handle branches of vendor branches in SVN?

So, I'm already familiar with this: http://svnbook.red-bean.com/en/1.5/svn.advanced.vendorbr.html My question is how do you handle a vendor branch that has both a stable release and an alpha/beta branch that you want to integrate? So, say you follow…
1
2 3
26 27