User:Mziaei1/eclipse/challenges

Mylyn Wikitext
/user/share/eclipse/mylyn-wikitext/dropins/plugins
 * it will automatically put necessary jars into
 * it will automatically put necessary jars into
 * If images are fetched but not shown on the user guide, there might be a problem parsing the name of the image from capital letter to lower case (e.g. Fedora.png will be parsed to fedora.png). we can fix this manually right now but later we may file a bug for that.
 * to create a new clean update for plugins in home directory
 * -> will mention if this is owned by any package
 * -> shows if there is any available package in this category (e.g. eclipse-mylyn-docs-wikitext)
 * -> shows the installed packages in this category
 * will tell which packages contain this file
 * fix an already pushed commit to git ->
 * cp .eclipse .eclipse.old -> vi ~/.options ->  copy those two lines into it http://aniszczyk.org/2011/04/04/debugging-eclipse-p2-dropins/ -> eclipse -debug -consolelog -clean 2>&1 | tee debug.log
 * rpm -qa | grep -E 'xmlrpc3|gson|httpcomponents|ws-commons|apache-commons-codec|mime4j|not-yet-commons-ssl|eclipse-rpm-editor|eclipse-rpmstubby|eclipse-changelog' | fpaste -> http://fpaste.org/fW66/
 * copy list of files in terminal -> vi -> :set paste -> organizes them then to install those files -> yum --enablerepo=rawhide install `cat /tmp/installThese`
 * rmdir /usr/share/eclipse/dropins/mylyn- -> rm -rf /usr/share/eclipse/dropins/mylyn-*
 * yum install fedora-release-rawhide; yum --enablerepo=rawhide install eclipse-fedorapackager
 * rpm -V eclipse-platform -> if there is any conflict and different versions of eclipse-platform
 * yum reinstall --enablerepo=rawhide eclipse-platform
 * rm config.ini.rpmsave
 * rm -rf p2/
 * rpm -qf * -> in /usr/lib64/eclipse/ -> lists all packages installed for eclipse
 * rpm -e eclipse-egitNew eclipse-fedorapackagerprocess
 * yum localinstall eclipse-fedorapackager-0.2.1-1.fc17.noarch.rpm
 * wget http://koji.fedoraproject.org/koji/getfile?taskID=3301551&name=eclipse-fedorapackager-0.2.1-1.fc17.noarch.rpm
 * wget http://koji.fedoraproject.org/koji/getfile?taskID=3301551&name=eclipse-fedorapackager-0.2.1-1.fc17.noarch.rpm

Mylyn Tasks - bugzilla

 * can we resize images on the wiki page: http://fedoraproject.org/wiki/Eclipse/MylynRedHatBugzillaSetupGuide ?
 * The transition file?

yum good stuff

 * if you don't have the package installed $ yum provides is your friend: yum provides '*org.eclipse.mylyn.help.ui*'
 * if you have an RPM at hand, but not installed: $ rpm -qlp path/to/rpm/file
 * if you have an RPM at hand AND installed: $ rpm -ql 
 * issue with httpcomponents-client:$ yum install fedora-release-rawhide && yum install --enablerepo=rawhide httpcomponents-client
 * issue with apache-httpclient in eclipse -> yum install --enablerepo=rawhide avalon-{logkit,framework}
 * cd /PATH/TO/dropins/; grep -rn "org.eclipse.mylyn.internal.team" mylyn* -> then look for which package provides the matching jar: yum provides '*org.eclipse.mylyn.help.ui*'
 * to install a .rpm -> rpm -i eclipse-mercurial-1.8.1.noarch.rpm
 * to update an already installed package with rpm -> rpm -Uvh eclipse-mercurial-1.8.1.noarch.rpm
 * if rpm command gave this error: /var/lib/rpm/.rpm.lock (Permission denied) -> because you are not in root
 * for getting the tar ball from the uri in source (specfile editor)
 * Source0: http://git.eclipse.org/c/mylyn/org.eclipse.mylyn.docs.git/snapshot/R_3_6_0.tar.bz2 -> press ctrl, hover over the URL and just download it using the spec-file editor

Remote Desktop

 * Go to Remote Desktop
 * Allow others to view/control, check for confirmation
 * vncviewer + ip
 * temporarily disable firewall

clone from fedora packages git repo

 * fedora-packager-setup
 * gson complain -> yum install google-gson
 * http components -> yum install httpcomonents....or yum --enablerepo=rawhide && yum install httpcomponents-client
 * yum --enablerepo=rawhide install eclipse-jgit eclipse-egit\
 * set the targets -> usr/share/java  -  usr/share/java/httpcomponents

Delete a remote branch

 * In egit, open the git repo view then right-click on the repository you want to delete a branch from
 * choose "Push..." then "Next >" then under "Remote ref to delete" choose the branch you want to delete
 * then click "Add ref spec" and remove all others and then finish

fedora packager process user-guide
FROM:
 * This part should be removed (related to language stuff for the page )

FROM: TO
 * Internal links should change:


 * to upload a patch to review board:
 * do changes on local branch minoo
 * create the diff with master
 * upload the diff to review board
 * if approved -> rebase master -> push
 * if error with review board related to missing files in repositories means that we did the diff after rebasing, to fix:
 * git branch -m master master-old
 * git fetch origin master:remotes/origin/master
 * git branch master origin/master
 * git diff --full-index master minoo > test.diff

Installing f15 on my laptop

 * Wireless -> Asus -> firmware missing -> http://forums.fedoraforum.org/showthread.php?t=239922
 * Chrome -> http://www.if-not-true-then-false.com/2010/install-google-chrome-with-yum-on-fedora-red-hat-rhel/
 * Chrome stopped working (problem with SELinux) -> fgrep -i chrome /var/log/messages _> http://unix.stackexchange.com/questions/20932/selinux-stops-google-chrome-from-executing