Giter Club home page Giter Club logo

cocoapods-repo-svn's Introduction

Hacktheplanet

cocoapods-repo-svn's People

Contributors

amorde avatar brianbledsoe avatar dustywusty avatar welkiner avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

cocoapods-repo-svn's Issues

hello, I want ask some questions about private repo on svn

hello, I want ask some questions about private repo on svn,
like this:
in privateB {
s.dependency 'PrivateC', :svn => 'svn:loginuser//xxxxxxxxxxxx/PrivateC',
}
when I use "pod lib lint --allow-warnings",
but it show wrong,
"Invalid privateB.podspec file: [!] Unsupported version requirements."

how can I get s.dependency from other svn private repo?
thanks

"Unable to find specification .." during pod install, but "pod spec which" succeeds

I might be doing this incorrectly, but I have added my repo successfully using pod repo-svn add and tested to see if cocoapods recognizes the template by running pod spec which MyPod

/Users/eric.amorde/.cocoapods/repos/private/Specs/MyPod/1.0.0/MyPod.podspec

But when trying a pod install on a project in which the Podfile declares MyPod as a dependency yields:

$ pod install
Analyzing dependencies
[!] Unable to find a specification for `MyPod`

The only thing I can think of is that at the top of the Podfile, I cannot add my repo as a source because cocoapods does not recognize that it is not a git repo and will fail.

How to add dependency SVN project in my Podspec.

Hi,

How to add dependency SVN project path in my Podspec.

Ex: Project1 (SVN)
|------Project2 (SVN)
|-----------Project3 (SVN)

When i Pod "URL to Project 2", It creates pod for Project2 not created for Porject3. But Project2 is dependent on Project3.

How to specify the SVN path for Project3 in Project2 podspec. Thanks in advance.

Project2.podspec Looks like:

Pod::Spec.new do |s|
s.name = ‘Project2’
s.version = '0.0.1'
s.summary = ''
s.homepage = ‘svn url’
s.authors = ‘authr’
s.source = { :svn => ‘SVN url to Project2’ }
s.source_files = '*/.{h,m}'

pch_AF = <<-EOS

ifndef TARGET_OS_IOS

define TARGET_OS_IOS TARGET_OS_IPHONE

endif

ifndef TARGET_OS_WATCH

define TARGET_OS_WATCH 0

endif

ifndef TARGET_OS_TV

define TARGET_OS_TV 0

endif

EOS
s.prefix_header_contents = pch_AF
s.ios.deployment_target = '7.0'
s.osx.deployment_target = '10.9'
s.watchos.deployment_target = '2.0'
s.tvos.deployment_target = '9.0'

s.dependency 'Project3', :svn => ‘url_of_podspec.podspec'

s.dependency 'AFNetworking'
s.dependency 'Mantle'
s.dependency 'XMLDictionary'
end

svn: E170001: Can't get username or password

When I use pod install I can see this error msg svn: E170001: Can't get username or password.
If I execute svn up first and the terminal request a keychain auth, then the error goes away.

pod spec lint and pod package error when dependency a private repo with svn

pod spec lint and pod package error when dependency a private repo with svn .
so what can i do for this issue?

YEJIANdeMacBook-Pro:YYShareKit JianYee$ pod spec lint YYShareKit.podspec

-> YYShareKit (1.2)
- WARN | source: Git sources should specify a tag.
- WARN | source: Git SSH URLs will NOT work for people behind firewalls configured to only allow HTTP, therefore HTTPS is preferred.
- WARN | description: The description is equal to the summary.
- ERROR | [iOS] unknown: Encountered an unknown error (Unable to find a specification for FastKit depended upon by YYShareKit) during validation.

Analyzed 1 podspec.

[!] The spec did not pass validation, due to 1 error and 3 warnings.

the FasktKit is a private spec with svn.

Broken with Cocoapods 0.34?

I had a private subversion repo configured and working with Cocoapods 0.33.1. After updating to Cocoapods 0.34.2, I get the following error trying to run pod install with pods hosted in this repo:
fatal: No remote configured to list refs from.
[!] The my_internal_repo repo is not a git repo.

Are there any known issues with cocoapods 0.34.x?

The specification of arguments as a string has been deprecated

I'm running cocoapods version 0.33.1 and after installing cocoapods-repo-svn I get these warnings with every pod command:

[!] The specification of arguments as a string has been deprecated Pod::Command::RepoSvn::Add: `NAME URL`
[!] The specification of arguments as a string has been deprecated Pod::Command::RepoSvn::Update: `[NAME]`
[!] The specification of arguments as a string has been deprecated Pod::Command::RepoSvn::Lint: `[ NAME | DIRECTORY ]`
[!] The specification of arguments as a string has been deprecated Pod::Command::RepoSvn::Remove: `NAME`

These are only warnings though, everything works well so far...
Thank you for sharing this plugin, it's very useful :)

add repo param-order incorrect in --help

Issue:

Parameter order reported in reverse order for pod repo-svn add

Gem list:

cocoapods (0.34.2)
cocoapods-core (0.34.2)
cocoapods-downloader (0.7.2)
cocoapods-plugins (0.3.1)
cocoapods-repo-svn (0.1.1)

Gem version:

2.0.14

pod docs: [version 0.34.2 -- correct]

brianmelton$ pod repo add --help
Usage:

$ pod repo add NAME URL [BRANCH]

  Clones `URL` in the local spec-repos directory at `~/.cocoapods/repos/`. The
  remote can later be referred to by `NAME`.

Options:

--shallow   Create a shallow clone (fast clone, but no push capabilities)
--silent    Show nothing
--verbose   Show more debugging information
--no-ansi   Show output without ANSI codes
--help      Show help banner of specified command

repo-svn docs: [version 0.1.1 -- incorrect]

brianmelton$ pod repo-svn add --help
Usage:

$ pod repo-svn add URL NAME

  Check out `URL` in the local spec-repos directory at `~/.cocoapods/repos/`. The
  remote can later be referred to by `NAME`.

Options:

--silent    Show nothing
--verbose   Show more debugging information
--no-ansi   Show output without ANSI codes
--help      Show help banner of specified command

repo-svn docs: [version 0.1.0 -- correct]

brianmelton$ pod repo-svn add --help
Usage:

$ pod repo-svn add NAME URL

  Check out `URL` in the local spec-repos directory at `~/.cocoapods/repos/`. The
  remote can later be referred to by `NAME`.

Options:

--silent    Show nothing
--verbose   Show more debugging information
--no-ansi   Show output without ANSI codes
--help      Show help banner of specified command

Linting a non-git spec repository fails

Brief:

Core::Pod::Source::FileSystemDataProvider explicitly filters ., .., and .git directories.

Something similar needs to be added for svn, hg, and bzr.

See: Core/lib/cocoapods-core/source/file_system_data_provider.rb:45

Plugin also add's some nasty-ness to pod repo, since pod repo lint will lint all spec repos -- and blow up as soon as it hits anything that isn't git

Stack:

ArgumentError - Malformed version number string tmp
/Users/dusty/.rvm/gems/ruby-2.1.0/gems/cocoapods-core-0.31.0/lib/cocoapods-core/vendor/version.rb:191:in `initialize'
/Users/dusty/.rvm/gems/ruby-2.1.0/gems/cocoapods-core-0.31.0/lib/cocoapods-core/version.rb:62:in `initialize'
/Users/dusty/.rvm/gems/ruby-2.1.0/gems/cocoapods-core-0.31.0/lib/cocoapods-core/source.rb:94:in `new'
/Users/dusty/.rvm/gems/ruby-2.1.0/gems/cocoapods-core-0.31.0/lib/cocoapods-core/source.rb:94:in `block in versions'
/Users/dusty/.rvm/gems/ruby-2.1.0/gems/cocoapods-core-0.31.0/lib/cocoapods-core/source.rb:94:in `map'
/Users/dusty/.rvm/gems/ruby-2.1.0/gems/cocoapods-core-0.31.0/lib/cocoapods-core/source.rb:94:in `versions'
/Users/dusty/.rvm/gems/ruby-2.1.0/gems/cocoapods-core-0.31.0/lib/cocoapods-core/source/health_reporter.rb:52:in `block in analyze'
/Users/dusty/.rvm/gems/ruby-2.1.0/gems/cocoapods-core-0.31.0/lib/cocoapods-core/source/health_reporter.rb:51:in `each'
/Users/dusty/.rvm/gems/ruby-2.1.0/gems/cocoapods-core-0.31.0/lib/cocoapods-core/source/health_reporter.rb:51:in `analyze'
/Users/dusty/Workspace/dusty/cocoapods-svnrepo/lib/pod/command/repo_svn.rb:183:in `block in run'

Broken with CocoaPods : 1.0.1

Since the CocoaPods update 0.39 to 1.0 the cocoapods-repo-svn plugin seems to be broken:

Command

/usr/local/bin/pod install

Report

  • What did you do?
  • What did you expect to happen?
  • What happened instead?

Stack

   CocoaPods : 1.0.1
        Ruby : ruby 2.0.0p648 (2015-12-16 revision 53162) [universal.x86_64-darwin15]
    RubyGems : 2.0.14.1
        Host : Mac OS X 10.11.5 (15F34)
       Xcode : 7.3.1 (7D1014)
         Git : git version 2.7.4 (Apple Git-66)
Ruby lib dir : /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib
Repositories : master - https://github.com/CocoaPods/Specs.git @ d7ba89614855d257eaed5ce3f8bdaef7b029b082
               pods -  @ fatal: Not a git repository (or any of the parent directories): .git

Plugins

cocoapods-deintegrate : 1.0.0
cocoapods-plugins     : 1.0.0
cocoapods-repo-svn    : 2.0.1
cocoapods-search      : 1.0.0
cocoapods-stats       : 1.0.0
cocoapods-trunk       : 1.0.0
cocoapods-try         : 1.0.0

Podfile

platform :ios, '8.4'
use_frameworks!
plugin 'cocoapods-repo-svn', :sources => ['http://svn.XXXXXX.de/ios/pods']
source 'https://github.com/CocoaPods/Specs.git'

def pods
    pod 'Eureka', '~> 1.0'
#   pod 'BXConnect'
    pod 'MBProgressHUD', '~> 0.9'
end

target 'Spesen' do
    pods
end

target 'Spesen Dev' do
    pods
end

target 'Spesen Test' do
    pods
end

target 'Spesen Training' do
    pods
end

Error

NoMethodError - undefined method `check_version_information' for #<Pod::Source::Manager:0x007fa1db2c04f0>
/Library/Ruby/Gems/2.0.0/gems/cocoapods-repo-svn-2.0.1/lib/pod/command/repo_svn.rb:117:in `block (2 levels) in update'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.0.1/lib/cocoapods/user_interface.rb:63:in `section'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-repo-svn-2.0.1/lib/pod/command/repo_svn.rb:104:in `block in update'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-repo-svn-2.0.1/lib/pod/command/repo_svn.rb:103:in `each'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-repo-svn-2.0.1/lib/pod/command/repo_svn.rb:103:in `update'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-repo-svn-2.0.1/lib/pod/command/repo_svn.rb:74:in `run'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-repo-svn-2.0.1/lib/cocoapods_plugin.rb:32:in `update_or_add_source'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-repo-svn-2.0.1/lib/cocoapods_plugin.rb:10:in `block (2 levels) in <top (required)>'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-repo-svn-2.0.1/lib/cocoapods_plugin.rb:8:in `each'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-repo-svn-2.0.1/lib/cocoapods_plugin.rb:8:in `block in <top (required)>'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.0.1/lib/cocoapods/hooks_manager.rb:109:in `call'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.0.1/lib/cocoapods/hooks_manager.rb:109:in `block (3 levels) in run'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.0.1/lib/cocoapods/user_interface.rb:141:in `message'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.0.1/lib/cocoapods/hooks_manager.rb:103:in `block (2 levels) in run'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.0.1/lib/cocoapods/hooks_manager.rb:101:in `each'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.0.1/lib/cocoapods/hooks_manager.rb:101:in `block in run'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.0.1/lib/cocoapods/user_interface.rb:141:in `message'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.0.1/lib/cocoapods/hooks_manager.rb:100:in `run'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.0.1/lib/cocoapods/installer.rb:482:in `run_source_provider_hooks'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.0.1/lib/cocoapods/installer.rb:143:in `resolve_dependencies'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.0.1/lib/cocoapods/installer.rb:114:in `install!'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.0.1/lib/cocoapods/command/install.rb:37:in `run'
/Library/Ruby/Gems/2.0.0/gems/claide-1.0.0/lib/claide/command.rb:334:in `run'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.0.1/lib/cocoapods/command.rb:50:in `run'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.0.1/bin/pod:55:in `<top (required)>'
/usr/local/bin/pod:23:in `load'
/usr/local/bin/pod:23:in `<main>'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.