Push-Request Etiquette: Difference between revisions
From Genecats
Jump to navigationJump to search
(Adding examples of pushes for wuhCor1 Engineers.) |
|||
Line 27: | Line 27: | ||
*** In essence, if your push request looks very complicated, stop and think about redrafting it. | *** In essence, if your push request looks very complicated, stop and think about redrafting it. | ||
==Example pushes== | |||
Go to the ''PUSH-REQUEST MAILING-LIST TO FIND THE LATEST GOOD EXAMPLES:'' | |||
https://groups.google.com/a/soe.ucsc.edu/g/push-request | |||
Don't trust these below examples (use the above list instead), but here are [https://groups.google.com/a/soe.ucsc.edu/g/push-request/search?q=wuhCor1%20trackDb some examples] for wuhCor1 trackDb/gbdb/table pushes: | |||
* Push '''trackDb''': | |||
<pre> | |||
Hello Pushers, | |||
Please push trackDb and friends for the following database: | |||
wuhCor1 | |||
from hgwbeta-public --> RR/euro/asia | |||
Reason: Staging validated epitopes track on RR refs #26305 | |||
Thanks! | |||
</pre> | |||
* Push '''gbdb''' files: | |||
<pre> | |||
Greetings push masters, | |||
Can you please push the following files: | |||
/gbdb/wuhCor1/bbi/epiValid.bb | |||
from beta ---> RR/euro/asia | |||
Reason: Staging validated epitopes track on RR refs #26305 | |||
Thanks! | |||
</pre> | |||
* Push '''tables''' | |||
<pre> | |||
Hello pushers, | |||
Please push the following table for the wuhCor1 database: | |||
microdel | |||
from hgwbeta --> mysqlrr/genome-euro/genome-asia | |||
Reason: Preparing release of microdeletion track on RR #25609 | |||
Thank you, | |||
</pre> | |||
''REMEMBER IT IS BEST TO FIND THE LATEST GOOD EXAMPLES IN THE MAILING-LIST WHERE CLUSTER-ADMIN HAD NO ISSUE WITH THE REQUEST.'' | |||
==Related info and pages== | ==Related info and pages== | ||
[[New_track_checklist]] [[Pushing_trackDb]] [http://genomewiki.ucsc.edu/index.php/ThreeStateTrackDb ThreeStateTrackDb] | [[New_track_checklist]] [[Pushing_trackDb]] [http://genomewiki.ucsc.edu/index.php/ThreeStateTrackDb ThreeStateTrackDb] |
Revision as of 22:25, 16 October 2020
Remember to check your path:
- A bad path will cause issues for cluster-admin
- do a list "ls /absolute/path/to/requestingPushOf/fileName" before requesting the push
- But not the path to your source tree Not: /cluster/home/yourLogin/kent/src/hg/htdocs/...
Remember to do your QA on beta
- Beta exists for you to check data before release to the RR
- This means checking your track and data work properly on beta.
- This means you'll have to sudo mypush $db $table mysqlbeta
- This means you'll have to sudo gbdbPush and gbdb data.
- This means you can't request a push of tables/data from beta unless you've put things on beta.
- Let people know you are doing a make public on hg19/hg38 mm9/mm10 (most used assemblies)
Remember to check after your push request that your data arrived on the RR (world).
- Don't leave users to check your push, check your push to catch unexpected errors.
- This is the final QA check, to see your data arrived safely to the RR and works properly
- Do not just request the push and then forget about it; we need to check the push went through and did not unintentionally break something (or didn't make it).
- If requesting/pushing hg.conf changes, keep in mind they are instantaneous but can be reversed by asking cluster-admin to undo what you just requested.
Be kind to the cluster-admin
- Make things as easy as possible for cluster-admin
- Don't expect them to respond immediately to your push-requests
- Make sure your requests are proper before making them: CORRECT PATH; TABLES EXIST; GBDB EXIST
- AVOID a late push-request if it can wait until morning (i.e., 5pm Friday push-request, because you'll have to stick around to check it, and they might be heading out the door).
- Structure push requests so that they are easy to understand and straightforward to execute for cluster-admin:
- For example, it is better to send several small push requests, than to lump multiple different table/assembly push requests into one email (even if all the pushes are related to the same goal).
- In essence, if your push request looks very complicated, stop and think about redrafting it.
Example pushes
Go to the PUSH-REQUEST MAILING-LIST TO FIND THE LATEST GOOD EXAMPLES: https://groups.google.com/a/soe.ucsc.edu/g/push-request
Don't trust these below examples (use the above list instead), but here are some examples for wuhCor1 trackDb/gbdb/table pushes:
- Push trackDb:
Hello Pushers, Please push trackDb and friends for the following database: wuhCor1 from hgwbeta-public --> RR/euro/asia Reason: Staging validated epitopes track on RR refs #26305 Thanks!
- Push gbdb files:
Greetings push masters, Can you please push the following files: /gbdb/wuhCor1/bbi/epiValid.bb from beta ---> RR/euro/asia Reason: Staging validated epitopes track on RR refs #26305 Thanks!
- Push tables
Hello pushers, Please push the following table for the wuhCor1 database: microdel from hgwbeta --> mysqlrr/genome-euro/genome-asia Reason: Preparing release of microdeletion track on RR #25609 Thank you,
REMEMBER IT IS BEST TO FIND THE LATEST GOOD EXAMPLES IN THE MAILING-LIST WHERE CLUSTER-ADMIN HAD NO ISSUE WITH THE REQUEST.
Related info and pages
New_track_checklist Pushing_trackDb ThreeStateTrackDb
- In ~/genecats/qa/testTools/pushTools/lsList you can find Daniel's short push-check script that will check the validity of a whole list of file paths in one step:
lsList Paste your list of file paths, ctr-C to exit loop /gbdb/hg18/geneReviews/geneReviews.bb /gbdb/hg19/geneReviews/geneReviews.bb /gbdb/hg38/geneReviews/geneReviews.bb lrwxrwxrwx 1 chmalee genecats 66 Oct 13 08:02 /gbdb/hg18/geneReviews/geneReviews.bb -> /hive/data/outside/otto/geneReviews/2020-10-13/geneReviews.hg18.bb lrwxrwxrwx 1 chmalee genecats 66 Oct 13 08:01 /gbdb/hg19/geneReviews/geneReviews.bb -> /hive/data/outside/otto/geneReviews/2020-10-13/geneReviews.hg19.bb lrwxrwxrwx 1 chmalee genecats 66 Oct 13 08:00 /gbdb/hg38/geneReviews/geneReviews.bb -> /hive/data/outside/otto/geneReviews/2020-10-13/geneReviews.hg38.bb