Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
kvalobs:kvoss:system:qc2:8hdk376snf09zj37dk82s92:debian-build-notes [2010-05-30 22:14:56] paule |
kvalobs:kvoss:system:qc2:8hdk376snf09zj37dk82s92:debian-build-notes [2022-05-31 09:29:32] (current) |
||
---|---|---|---|
Line 367: | Line 367: | ||
/ | / | ||
</ | </ | ||
+ | |||
+ | |||
+ | |||
+ | ====== ToDos ====== | ||
+ | |||
+ | * Add full copyright information | ||
+ | |||
+ | ====== Make New Package ====== | ||
+ | |||
+ | 1. First prepare the source. Make a new branch in the svn distribution. Copy the development tree. Actually not a branch but a tagged version!!! | ||
+ | |||
+ | Make a copy of the development directory ... first to a branch: | ||
+ | < | ||
+ | svn copy https:// | ||
+ | </ | ||
+ | |||
+ | Check out: | ||
+ | |||
+ | < | ||
+ | $ # On the development machine: | ||
+ | $ cd $HOME | ||
+ | $ svn co https:// | ||
+ | </ | ||
+ | platform) | ||
+ | |||
+ | CHANGES: To make a clean/safe distribution: | ||
+ | |||
+ | * Remove unnecessarf files from References directory | ||
+ | * Change ReadProgramOptions file to use correct boost library on debian etch system (target platform) | ||
+ | * Edit ProcessImpl.cc to turn off algorithms not required | ||
+ | * Commit changes and then test on dev-vm116 ... | ||
+ | |||
+ | |||
+ | When work is finished for the release then I copy to the tags! | ||
+ | < | ||
+ | svn copy https:// | ||
+ | </ | ||
+ | |||
====== kvqc2-1.0.0 ====== | ====== kvqc2-1.0.0 ====== | ||
Line 410: | Line 448: | ||
* Log into dev-vm101 as kvalobs | * Log into dev-vm101 as kvalobs | ||
* Check it is there, e.g. which kvqc2 -> / | * Check it is there, e.g. which kvqc2 -> / | ||
- | * Run it and add config files as needed ... | + | * Run it and add config files and odirectories |
- | ====== ToDos ====== | + | !!! |
+ | Is this a problem: | ||
+ | < | ||
+ | kvalobs@dev-vm101: | ||
+ | -rwxrwxr-- 1 root kvalobs 6564612 May 21 15:13 / | ||
+ | kvalobs@dev-vm101: | ||
+ | -rwxr-xr-x 1 root root 937716 May 30 23:41 / | ||
+ | </ | ||
- | * Add full copyright information | + | Results of test run: |
+ | |||
+ | < | ||
+ | |||
+ | ONE TIME SERIES: | ||
+ | |||
+ | kvalobs=# select * from data where obstime>' | ||
+ | | ||
+ | -----------+---------------------+----------+---------+---------------------+--------+--------+-------+-----------+------------------+------------------+--------------------------------- | ||
+ | 24710 | 2010-05-29 06:00:00 | 5.9 | 211 | 2010-05-29 05:57:26 | 342 | 0 | 0 | 5.9 | 1111000000000010 | 7000000000000000 | | ||
+ | 24710 | 2010-05-29 07:00:00 | 7.4 | 211 | 2010-05-29 19:57:21 | 342 | 0 | 0 | 7.4 | 1111000000100010 | 7100000400000000 | | ||
+ | 24710 | 2010-05-29 08:00:00 | | ||
+ | 24710 | 2010-05-29 09:00:00 | 12.9 | 211 | 2010-05-29 19:57:21 | 342 | 0 | 0 | 12.9 | 1110000000100010 | 7100000400000000 | | ||
+ | 24710 | 2010-05-29 10:00:00 | | ||
+ | 24710 | 2010-05-29 11:00:00 | | ||
+ | (6 rows) | ||
+ | |||
+ | OTHER EXAMPLES CAN BE FOUND HERE: | ||
+ | |||
+ | kvalobs=# select | ||
+ | | ||
+ | -----------+---------------------+----------+---------+---------------------+--------+--------+-------+-----------+------------------+------------------+--------------------------------- | ||
+ | 72580 | 2010-05-30 21:00:00 | | ||
+ | 72580 | 2010-05-30 19:00:00 | | ||
+ | 99754 | 2010-05-30 18:00:00 | | ||
+ | 25110 | 2010-05-30 03:00:00 | | ||
+ | 10380 | 2010-05-29 10:00:00 | | ||
+ | 47260 | 2010-05-29 10:00:00 | | ||
+ | 99754 | 2010-05-29 09:00:00 | | ||
+ | 24710 | 2010-05-29 08:00:00 | | ||
+ | 90490 | 2010-05-29 07:00:00 | | ||
+ | 18500 | 2010-05-29 05:00:00 | | ||
+ | 96310 | 2010-05-29 03:00:00 | | ||
+ | 18500 | 2010-05-28 20:00:00 | | ||
+ | 29720 | 2010-05-28 17:00:00 | | ||
+ | 29720 | 2010-05-28 13:00:00 | | ||
+ | 98580 | 2010-05-28 10:00:00 | | ||
+ | 93900 | 2010-05-28 04:00:00 | | ||
+ | 90490 | 2010-05-28 04:00:00 | | ||
+ | (17 rows) | ||
+ | </ | ||
+ | |||
+ | **Dupload the Package** | ||
+ | |||
+ | Some first steps: | ||
+ | |||
+ | FIXME THat which follows is a debian hardy dupload ... should be etch. This is corrected at the bottom of this documentation! | ||
+ | |||
+ | < | ||
+ | From the met.no pc: | ||
+ | $ ssh-copy-id repo.met.no | ||
+ | $ ssh ' | ||
+ | |||
+ | ... on dev-vm101 | ||
+ | |||
+ | $ sudo apt-get install dupload | ||
+ | # I then had to edit the conf file as root (dodgy) perhaps I should have made a local one?? | ||
+ | |||
+ | $ sudo vi / | ||
+ | |||
+ | and sneaked the following info in: | ||
+ | |||
+ | $cfg{' | ||
+ | fqdn => " | ||
+ | method => " | ||
+ | incoming => "/ | ||
+ | dinstall_runs => 1, | ||
+ | preupload=> | ||
+ | changes=>' | ||
+ | }, | ||
+ | }; | ||
+ | </ | ||
+ | |||
+ | See https:// | ||
+ | |||
+ | **And now the actual DupLoad** | ||
+ | |||
+ | ... the following was all done on dev-vm101 | ||
+ | |||
+ | < | ||
+ | NB NB first good to use the " | ||
+ | doing anything!!! | ||
+ | paule@dev-vm101: | ||
+ | ... | ||
+ | ... | ||
+ | |||
+ | And now lets go for it ... | ||
+ | |||
+ | paule@dev-vm101: | ||
+ | dupload note: no announcement will be sent. | ||
+ | Uploading (scpb) to repo.met.no:/ | ||
+ | [ job kvqc2_1.0.0-1_i386 from kvqc2_1.0.0-1_i386.changes | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | Uploading (scp) to hardy-devel (repo.met.no) | ||
+ | [ Uploading job kvqc2_1.0.0-1_i386 | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | The authenticity of host ' | ||
+ | RSA key fingerprint is b5: | ||
+ | Are you sure you want to continue connecting (yes/no)? yes | ||
+ | Warning: Permanently added ' | ||
+ | paule@repo.met.no' | ||
+ | Permission denied, please try again. | ||
+ | paule@repo.met.no' | ||
+ | kvqc2_1.0.0-1_i386.deb | ||
+ | kvqc2_1.0.0.orig.tar.gz | ||
+ | kvqc2_1.0.0-1.diff.gz | ||
+ | kvqc2_1.0.0-1.dsc | ||
+ | kvqc2_1.0.0-1_i386.changes | ||
+ | ] | ||
+ | paule@dev-vm101: | ||
+ | |||
+ | Yiiippeeee | ||
+ | |||
+ | </ | ||
+ | |||
+ | **The above was a little weird** | ||
+ | |||
+ | * Did not need to edit / | ||
+ | * It is enough to have a personal .dupload.conf | ||
+ | * Generated .dupload.conf from all the contents in the main documentation | ||
+ | * And then: | ||
+ | |||
+ | < | ||
+ | paule@dev-vm101: | ||
+ | dupload note: no announcement will be sent. | ||
+ | Uploading (scpb) to repo.met.no:/ | ||
+ | [ job kvqc2_1.0.0-1_i386 from kvqc2_1.0.0-1_i386.changes | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | Uploading (scp) to etch-devel (repo.met.no) | ||
+ | [ Uploading job kvqc2_1.0.0-1_i386 | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | + scp kvqc2_1.0.0-1_i386.deb kvqc2_1.0.0.orig.tar.gz kvqc2_1.0.0-1.diff.gz kvqc2_1.0.0-1.dsc kvqc2_1.0.0-1_i386.changes | ||
+ | + ssh -x -l paule repo.met.no 'cd / | ||
+ | + log to kvqc2_1.0.0-1_i386.upload | ||
+ | |||
+ | + log successful upload | ||
+ | ] | ||
+ | paule@dev-vm101: | ||
+ | dupload note: no announcement will be sent. | ||
+ | Uploading (scpb) to repo.met.no:/ | ||
+ | [ job kvqc2_1.0.0-1_i386 from kvqc2_1.0.0-1_i386.changes | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | Uploading (scp) to etch-devel (repo.met.no) | ||
+ | [ Uploading job kvqc2_1.0.0-1_i386 | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | Enter passphrase for key '/ | ||
+ | kvqc2_1.0.0-1_i386.deb | ||
+ | kvqc2_1.0.0.orig.tar.gz | ||
+ | kvqc2_1.0.0-1.diff.gz | ||
+ | kvqc2_1.0.0-1.dsc | ||
+ | kvqc2_1.0.0-1_i386.changes | ||
+ | ] | ||
+ | paule@dev-vm101: | ||
+ | </ | ||
+ | |||
+ | And Bob is once more your Uncle! | ||
+ | Note: the kvqc2 package is debian etch and not hardy!!!!! |