MarketSquare / robotframework-archivelibrary

https://github.com/MarketSquare/robotframework-archivelibrary
22 stars 24 forks source link

Control in create zip/tar should files in subdirectories be included #26

Closed tminakov closed 7 years ago

tminakov commented 7 years ago

The keyword "Create Zip From Files In Directory" can optionally include files in subdirectories, by calling with sub_directories=${true} (default value: false).

The keyword "Create Tar From Files In Directory" was always including files in subdirectories, now this can be overriden by calling with sub_directories=${false} (default value: true)

The default values have been set so, to preserve the existing behavior and usage.

bulkan commented 7 years ago

Thank you @tminakov !

tminakov commented 7 years ago

Really - my pleasure! Hope you'll put it in pypy soon.

Kudos on the requests library bindings btw, it allows very easy REST testing with robotframework.

Keep it up @bulkan.

Cheers, Todor

tminakov commented 7 years ago

@bulkan sorry for being so pushy, but the doc needs re-generation, for the new arguments.

bulkan commented 7 years ago

Thank you.

It's already up on PyPI.

On Mon, 27 Mar 2017 at 10:19 pm, Todor Minakov notifications@github.com wrote:

Really - my pleasure! Hope you'll put it in pypy soon.

Kudos on the requests library bindings btw, it allows very easy REST testing with robotframework.

Keep it up @bulkan https://github.com/bulkan.

  • Cheers

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/bulkan/robotframework-archivelibrary/pull/26#issuecomment-289404220, or mute the thread https://github.com/notifications/unsubscribe-auth/AAA2odrls82yTqrp6jwFULxX74IcQqxtks5rp4QxgaJpZM4MqAYA .

tminakov commented 7 years ago

@bulkan sorry to bother again, but what I meant for doc re-generation is the help file, the one here. It doesn't list the new arguments, thus an user wouldn't know to use them.

Thanks.

vkosuri commented 7 years ago

@tminakov it's there in gh-pages, More information available here

A typical steps to do this (These steps may vary)

git checkout master
python -m robot.libdoc ArchiveLibrary/keywords.py ~/<some-location>/index.html
git checkout gh-pages
cp ~/<some-location>/index.html index.html
tminakov commented 7 years ago

Thanks, it's clear now