From Fedora Project Wiki
(12 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
==Mylyn Wikitext == | ==Mylyn Wikitext == | ||
* <code>yum install eclipse-mylyn-docs-wikitext</code> | * <code>yum install eclipse-mylyn-docs-wikitext</code> | ||
Line 40: | Line 8: | ||
* <code> yum list \*eclipse\*wikitext</code> -> shows if there is any available package in this category (e.g. eclipse-mylyn-docs-wikitext) | * <code> yum list \*eclipse\*wikitext</code> -> shows if there is any available package in this category (e.g. eclipse-mylyn-docs-wikitext) | ||
* <code> yum list installed \*eclipse\*wikitext</code> -> shows the installed packages in this category | * <code> yum list installed \*eclipse\*wikitext</code> -> shows the installed packages in this category | ||
* <code> yum install fedora-release-rawhide; yum --enablerepo=rawhide install eclipse-mylyn-builds-\*</code> | |||
* <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> | |||
* 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 | |||
<code> | |||
/usr/lib64/eclipse | |||
# ls /usr/share/eclipse/plugins/ | |||
org.apache.jasper_5.5.17.v200706111724.jar | |||
/usr/lib64/eclipse | |||
# rpm -qf /usr/share/eclipse/dropins | |||
file /usr/share/eclipse/dropins is not owned by any package | |||
/usr/lib64/eclipse | |||
# rmdir !$ | |||
rmdir /usr/share/eclipse/dropins | |||
# rpm -qf p2/ | |||
eclipse-platform-3.7.0-1.3.fc16.x86_64 | |||
# yum remove eclipse-rcp | |||
# rm -rf org.eclipse.equinox.simpleconfigurator/ | |||
</code> | |||
==Mylyn Tasks - bugzilla== | ==Mylyn Tasks - bugzilla== | ||
Line 52: | Line 58: | ||
: issue with apache-httpclient in eclipse -> yum install --enablerepo=rawhide avalon-{logkit,framework} | : 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*' | : 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== | ==Remote Desktop== | ||
Line 65: | Line 76: | ||
: yum --enablerepo=rawhide install eclipse-jgit eclipse-egit\ | : yum --enablerepo=rawhide install eclipse-jgit eclipse-egit\ | ||
: set the targets -> usr/share/java - usr/share/java/httpcomponents | : 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== | ==fedora packager process user-guide== | ||
*This part should be removed (related to language stuff for the page ) | |||
'''FROM:'''{{{ | '''FROM:'''{{{ | ||
'''TO'''}}} | '''TO'''}}} | ||
* Internal links should change: | |||
'''FROM:''' | '''FROM:''' | ||
'''TO''' | '''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== | ==Installing f15 on my laptop== | ||
: Wireless -> Asus -> firmware missing -> http://forums.fedoraforum.org/showthread.php?t=239922 | : 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 -> 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 |
Latest revision as of 03:07, 28 September 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 directoryrpm -qf /usr/share/eclipse/dropins/mylyn-wikitext
-> will mention if this is owned by any packageyum 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 categoryyum 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
- 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
/usr/lib64/eclipse
# ls /usr/share/eclipse/plugins/
org.apache.jasper_5.5.17.v200706111724.jar
/usr/lib64/eclipse
# rpm -qf /usr/share/eclipse/dropins
file /usr/share/eclipse/dropins is not owned by any package
/usr/lib64/eclipse
# rmdir !$
rmdir /usr/share/eclipse/dropins
# rpm -qf p2/
eclipse-platform-3.7.0-1.3.fc16.x86_64
- yum remove eclipse-rcp
- rm -rf org.eclipse.equinox.simpleconfigurator/
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 <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/
- Chrome stopped working (problem with SELinux) -> fgrep -i chrome /var/log/messages _> http://unix.stackexchange.com/questions/20932/selinux-stops-google-chrome-from-executing