From Fedora Project Wiki

Line 11: Line 11:
* <code> repoquery -f <filename></code> will tell which packages contain this file
* <code> repoquery -f <filename></code> will tell which packages contain this file
* fix an already pushed commit to git -> <code>git push -f github 76a9858e1c9d2d5cf61e039d:master</code>
* fix an already pushed commit to git -> <code>git push -f github 76a9858e1c9d2d5cf61e039d:master</code>
* 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


==Mylyn Tasks - bugzilla==
==Mylyn Tasks - bugzilla==

Revision as of 13:47, 29 August 2011

Mylyn Wikitext

  • yum install eclipse-mylyn-docs-wikitext
  • it will automatically put necessary jars into
 /user/share/eclipse/mylyn-wikitext/dropins/plugins
  • 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.
  • mv .eclipse/ .eclipse.old to create a new clean update for plugins in home directory
  • rpm -qf /usr/share/eclipse/dropins/mylyn-wikitext -> will mention if this is owned by any package
  • yum list \*eclipse\*wikitext -> shows if there is any available package in this category (e.g. eclipse-mylyn-docs-wikitext)
  • yum list installed \*eclipse\*wikitext -> shows the installed packages in this category
  • yum install fedora-release-rawhide; yum --enablerepo=rawhide install eclipse-mylyn-builds-\*
  • repoquery -f <filename> will tell which packages contain this file
  • fix an already pushed commit to git -> git push -f github 76a9858e1c9d2d5cf61e039d:master
  • 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

Mylyn Tasks - bugzilla

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 <package-name>
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

  • This part should be removed (related to language stuff for the page )
 FROM:{{{
 TO}}}
  • Internal links should change:
 FROM:
 TO
  • 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/