GithubHelp home page GithubHelp logo

fastlane-ftp-plugin's People

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

Watchers

 avatar  avatar  avatar

fastlane-ftp-plugin's Issues

Changing "progress bar" for continuous integration

Thanks for a great plugin. I would like to request an update (I will make a pull request):

The progress bar has a big downside when using continuous integration (or when capturing log output in general). Then it prints a newline for each progress bar update, for example:

  0 %[>                              ]
  0 %[>                              ]
  0 %[>                              ]
....
  6 %[=>                             ]
  6 %[=>                             ]
  6 %[=>                             ]
  6 %[==>                            ]
  6 %[==>                            ]
  7 %[==>                            ]
  7 %[==>                            ]
....

I would like to make it possible to get a 'simpler' output to avoid bloating the log. It could for example be activated via a new parameter to the ftp action.

My suggestion is to append to the same line until the file has transferred. The output could be like this:

//after 50% upload, it will look like:
0%       25%       50%       75%        100%
|         |         |         |          |
[====================

//after 100% upload, it will look like:
0%       25%       50%       75%        100%
|         |         |         |          |
[========================================] 

(of course this only works for monospace-fonts)

The code will be something like this:

//This is test code - should be adopted to be used in the closure
transferred = 0
print "\n"
print "0%       25%       50%       75%        100%\n"
print "|         |         |         |          |\n"
print "["
chars_printed = 0
while transferred < filesize
  sleep(0.3)
  transferred += data.size
  finished = ((transferred.to_f / filesize.to_f) * 40).to_i
  (finished-1).downto(chars_printed) { |n| print "="; chars_printed+=1 }
end
print "]\n"

Save password in keychain

Hi there,

First of all, thanks for this plugin which has been an amazing tool for me for months now.

I have been wondering, would you consider adding the ability to remember the FTP password in the macOS keychain? Fastlane seems to do this for the Apple ID session token, maybe the code to do so is already usable in the fastlane core.

Thanks a lot,

Stan

Error loading plugin 'fastlane-plugin-ftp'

My PluginFile :

Autogenerated by fastlane

Ensure this file is checked in to source control!

gem 'fastlane-plugin-teams_bot'
gem 'fastlane-plugin-firebase_app_distribution'
gem 'fastlane-plugin-ftp'
gem 'fastlane-plugin-gradle_properties'
gem 'fastlane-plugin-android_versioning'

When I run the 'fastlane action ftp' command in the terminal, I get the following error:

[15:56:50]: Error loading plugin 'fastlane-plugin-ftp': cannot load such file -- net/ftp
+-------------------------------------------+---------+------------------------------------------------------------------------+
| Used plugins |
+-------------------------------------------+---------+------------------------------------------------------------------------+
| Plugin | Version | Action |
+-------------------------------------------+---------+------------------------------------------------------------------------+
| fastlane-plugin-teams_bot | 1.0.0 | teams_bot |
| fastlane-plugin-firebase_app_distribution | 0.3.2 | firebase_app_distribution, firebase_app_distribution_add_testers, |
| | | firebase_app_distribution_get_latest_release, |
| | | firebase_app_distribution_get_udids, firebase_app_distribution_login, |
| | | firebase_app_distribution_remove_testers |
| fastlane-plugin-ftp | 0.1.5 | No actions found |
| fastlane-plugin-gradle_properties | 0.1.0 | gradle_properties |
| fastlane-plugin-android_versioning | 0.5.5 | get_value_from_build, get_version_code, get_version_name, |
| | | increment_version_code, increment_version_name, set_value_in_build |
+-------------------------------------------+---------+------------------------------------------------------------------------+

[!] No actions were found while loading one or more plugins
Please use bundle exec fastlane with plugins
More info - https://docs.fastlane.tools/plugins/using-plugins/#run-with-plugins

Loading documentation for ftp:

Couldn't find action for the given filter.

Error accessing file, this might be due to fastlane's directory handling

Hi. Great plugin. Thanks for making this available.

I'm encountering a weird issue. This is my how my lane is set up -

lane :ftp do
gradle(task: "assembleRelease")
ftp(
host: 'example.example.com',
username: 'example',
password: 'example',
upload: {
src: "./filename.apk",
dest:"/path/path"
}
)

I'm getting this error "No such file or directory @ rb_file_s_size" with the suggestion - "Error accessing file, this might be due to fastlane's directory handling"

I don't understand why I'm getting this error. Does the apk have to be in the fastlane folder?

Thank you.

Port selection

Hi,
I can see in the source file that the port is basically set as one of the params but I can't actually control it from
ftp(
.......
port: 22,
........
upload: {
.......
}
)

Any idea how I can change it?

Many thanks!

Error to upload file with ruby >= 2.4.2

Hi I used this plugin until yesterday. I updated my ruby version to 2.4.2 and now doesn't work anymore.
Fastlane return this error: incomplete format specifier; use %% (double %) instead.

After some tries I think that it could caused by percentage calculation in the library.

Could that be the cause?

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.