shlomi-noach / openarkkit

Automatically exported from code.google.com/p/openarkkit
24 stars 16 forks source link

Documentation is gone from google servers #41

Open zarere opened 8 years ago

zarere commented 8 years ago

Hi Shlomi,

Can you please add the documentation for openarkkit since the one hosted on google is already gone:

example: http://openarkkit.googlecode.com/svn/trunk/openarkkit/doc/html/introduction.html

shlomi-noach commented 8 years ago

The documentation is now on http://shlomi-noach.github.io/openarkkit/introduction.html

I will check how complex it would be to update links in all places, in my blog and elsewhere in resources I own. For sure, there are still broken links even within the documentation itself.

I'm happy if anyone wishes to lend a hand in updating the documentation!

zarere commented 8 years ago

Hi Shlomi, 10x.I can not find out where are the rpm-s and source code that were previusly on google servers.From where I can download the latest version of the openarkkit since the ones here https://github.com/shlomi-noach/openarkkit/tree/openarkkit master/openarkkit/src/oak are different from the ones I've got with the openark-kit-196 and can not figure out which is the latest one.Example

[martin@marto ~]$ diff oak-chunk-update.py Downloads/MySQL/openark-kit-196/scripts/oak-chunk-update 
470,473d469
< def to_string_list(list):
<     return ["%s" % val for val in list]
< 
< 
528c524
<                 verbose("%s range (%s), (%s), %s" % (description, ",".join(to_string_list(unique_key_range_start_values)), ",".join(to_string_list(unique_key_range_end_values)), get_progress_and_eta_presentation(ratio_complete)))
---
>                 verbose("%s range (%s), (%s), %s" % (description, ",".join("%s" % val for val in unique_key_range_start_values), ",".join("%s" % val for val in unique_key_range_end_values), get_progress_and_eta_presentation(ratio_complete)))
537c533
<                 verbose("%s range ('%s', '%s'), %s" % (description, ",".join(to_string_list(unique_key_range_start_values)), ",".join(to_string_list(unique_key_range_end_values)), get_progress_and_eta_presentation(ratio_complete)))
---
>                 verbose("%s range ('%s', '%s'), %s" % (description, ",".join(unique_key_range_start_values), ",".join(unique_key_range_end_values), get_progress_and_eta_presentation(ratio_complete)))
539c535
<                 verbose("%s range (%s), (%s), progress: N/A" % (description, ",".join(to_string_list(unique_key_range_start_values)), ",".join(to_string_list(unique_key_range_end_values))))
---
>                 verbose("%s range (%s), (%s), progress: N/A" % (description, ",".join(unique_key_range_start_values), ",".join(unique_key_range_end_values)))
shlomi-noach commented 8 years ago

Your version is more up-to-date than the openark-kit-196 version.

zarere commented 8 years ago

Great 10x for the help again.Also just to mention that when I tried to build the package i got the following error:

[martin@marto ~]$ git clone https://github.com/shlomi-noach/openarkkit.git
Cloning into 'openarkkit'...

cd /home/martin/openarkkit/openarkkit/py-dist-cfg/
[root@marto py-dist-cfg]# python2.7 setup.py install
running install
running build
running build_py
error: package directory 'scripts' does not exist

So I manually renamed the below python scripts

oak-apply-ri.py oak-block-account.py oak-chunk-update.py oak-get-slave-lag.py oak-hook-general-log.py oak-kill-slow-queries.py oak-modify-charset.py oak-online-alter-table.py oak-prepare-shutdown.py oak-purge-master-logs.py oak-repeat-query.py oak-security-audit.py oak-show-limits.py oak-show-replication-status.py

to the same thing just ommiting the .py extension.

Then I created scripts dir and run the setup.py again : Example:

[root@marto py-dist-cfg]# python2.7 setup.py install
running install
running build
running build_py
running build_scripts
creating build
creating build/scripts-2.7
copying and adjusting scripts/oak-apply-ri -> build/scripts-2.7
copying and adjusting scripts/oak-block-account -> build/scripts-2.7
copying and adjusting scripts/oak-chunk-update -> build/scripts-2.7
copying and adjusting scripts/oak-get-slave-lag -> build/scripts-2.7
copying and adjusting scripts/oak-hook-general-log -> build/scripts-2.7
copying and adjusting scripts/oak-kill-slow-queries -> build/scripts-2.7
copying and adjusting scripts/oak-modify-charset -> build/scripts-2.7
copying and adjusting scripts/oak-online-alter-table -> build/scripts-2.7
copying and adjusting scripts/oak-prepare-shutdown -> build/scripts-2.7
copying and adjusting scripts/oak-purge-master-logs -> build/scripts-2.7
copying and adjusting scripts/oak-repeat-query -> build/scripts-2.7
copying and adjusting scripts/oak-security-audit -> build/scripts-2.7
copying and adjusting scripts/oak-show-limits -> build/scripts-2.7
copying and adjusting scripts/oak-show-replication-status -> build/scripts-2.7
changing mode of build/scripts-2.7/oak-apply-ri from 644 to 755
changing mode of build/scripts-2.7/oak-block-account from 644 to 755
changing mode of build/scripts-2.7/oak-chunk-update from 644 to 755
changing mode of build/scripts-2.7/oak-get-slave-lag from 644 to 755
changing mode of build/scripts-2.7/oak-hook-general-log from 644 to 755
changing mode of build/scripts-2.7/oak-kill-slow-queries from 644 to 755
changing mode of build/scripts-2.7/oak-modify-charset from 644 to 755
changing mode of build/scripts-2.7/oak-online-alter-table from 644 to 755
changing mode of build/scripts-2.7/oak-prepare-shutdown from 644 to 755
changing mode of build/scripts-2.7/oak-purge-master-logs from 644 to 755
changing mode of build/scripts-2.7/oak-repeat-query from 644 to 755
changing mode of build/scripts-2.7/oak-security-audit from 644 to 755
changing mode of build/scripts-2.7/oak-show-limits from 644 to 755
changing mode of build/scripts-2.7/oak-show-replication-status from 644 to 755
running install_lib
warning: install_lib: 'build/lib' does not exist -- no Python modules to install

running install_scripts
copying build/scripts-2.7/oak-apply-ri -> /usr/bin
copying build/scripts-2.7/oak-block-account -> /usr/bin
copying build/scripts-2.7/oak-chunk-update -> /usr/bin
copying build/scripts-2.7/oak-get-slave-lag -> /usr/bin
copying build/scripts-2.7/oak-hook-general-log -> /usr/bin
copying build/scripts-2.7/oak-kill-slow-queries -> /usr/bin
copying build/scripts-2.7/oak-modify-charset -> /usr/bin
copying build/scripts-2.7/oak-online-alter-table -> /usr/bin
copying build/scripts-2.7/oak-prepare-shutdown -> /usr/bin
copying build/scripts-2.7/oak-purge-master-logs -> /usr/bin
copying build/scripts-2.7/oak-repeat-query -> /usr/bin
copying build/scripts-2.7/oak-security-audit -> /usr/bin
copying build/scripts-2.7/oak-show-limits -> /usr/bin
copying build/scripts-2.7/oak-show-replication-status -> /usr/bin
changing mode of /usr/bin/oak-apply-ri to 755
changing mode of /usr/bin/oak-block-account to 755
changing mode of /usr/bin/oak-chunk-update to 755
changing mode of /usr/bin/oak-get-slave-lag to 755
changing mode of /usr/bin/oak-hook-general-log to 755
changing mode of /usr/bin/oak-kill-slow-queries to 755
changing mode of /usr/bin/oak-modify-charset to 755
changing mode of /usr/bin/oak-online-alter-table to 755
changing mode of /usr/bin/oak-prepare-shutdown to 755
changing mode of /usr/bin/oak-purge-master-logs to 755
changing mode of /usr/bin/oak-repeat-query to 755
changing mode of /usr/bin/oak-security-audit to 755
changing mode of /usr/bin/oak-show-limits to 755
changing mode of /usr/bin/oak-show-replication-status to 755
running install_egg_info
Writing /usr/lib/python2.7/site-packages/openark_kit-revision.placeholder-py2.7.egg-info

So I hope everyting to work well.