Community
Participate
Working Groups
As suggested by Dani, we may want to move "org.eclipse.ui.images" to the "eclipse.platform.common" git repo and rename it to "org.eclipse.sdk.images".
Tony can you prepare Gerrit reviews for this change? If I simply copy over the plug-ins and rename them, the image generator does not work anymore.
There's no real benefit to make this move during RC*.
(In reply to Dani Megert from comment #2) > There's no real benefit to make this move during RC*. Sounds good to me, I thought that was requested by you. IIRC you requested that we move these bundles to the new repo before the 4.4. If that is not necessary, we can do this later.
Tony could you provide a Gerrit review to integrate the two plug-ins into the eclipse.platform.common repo?
And ... why is this being done? From just glancing at the Gerrit change, it seems that some, such as "ant ui" would not really be "common". I'm sure I missed the original conversation (and contexts) so it might be desired ... just not clear what problem is being solved.
David, the idea is to have a common place for all svg graphics of the different projects, at the moment we have PDE, ant, JDT and platform.ui but the project should be open for others.
(In reply to Lars Vogel from comment #6) > David, the idea is to have a common place for all svg graphics of the > different projects, at the moment we have PDE, ant, JDT and platform.ui but > the project should be open for others. Maybe the best is to have a separate repo? Otherwise we pollute everyone who just wants to contribute/write doc.
(In reply to Dani Megert from comment #7) > (In reply to Lars Vogel from comment #6) > > David, the idea is to have a common place for all svg graphics of the > > different projects, at the moment we have PDE, ant, JDT and platform.ui but > > the project should be open for others. > > Maybe the best is to have a separate repo? Otherwise we pollute everyone who > just wants to contribute/write doc. Not sure that's needed -- "more repos" is often a hassle -- if the idea is to have these images in one "resource only" bundle, and all other bundles refer to it. And if "images" are more open, not sure why "all docs" would not be more open. (In reply to Lars Vogel from comment #6) > David, the idea is to have a common place for all svg graphics of the > different projects, at the moment we have PDE, ant, JDT and platform.ui but > the project should be open for others. "open for others"? So, who gets commit rights there? Not sure why submissions could not be made "a cross projects" via Gerrit. I'd think the "component owners" would always want to have a say and/or have to coordinate anyway? [And, I can see both sides ... just playing devil's advocate, I guess, since it seems like a pretty big change, if the purpose is only to have "a different set of committers", but all bundles have to change how they "get" images/icons. And, could have "runtime" implications, in that some who make their own (small) products might end up shipping more images than they want or need. ... I assume this bundle isn't too large? Anyone estimated its size?].
This is just for managing the image design work itself. The various projects currently copy the images from this project into their constituent bundles. I think putting it here makes more sense than being in the platform ui repo, as nothing uses these resources directly.
(In reply to Tony McCrary from comment #9) > This is just for managing the image design work itself. > Oh, ok ... I'm starting to catch up. :) Thanks,
(In reply to Tony McCrary from comment #9) > This is just for managing the image design work itself. > > The various projects currently copy the images from this project into their > constituent bundles. > > I think putting it here makes more sense than being in the platform ui repo, > as nothing uses these resources directly. BTW, given this, I think "separate repository" (as Dani suggested) make more sense.
Gerrit change submitted: https://git.eclipse.org/r/41098
(In reply to David Williams from comment #11) > BTW, given this, I think "separate repository" (as Dani suggested) make more > sense. Fine for me, IIRC the usage of common was Dani suggestion a while ago. I ask webmaster to create a new repository.
(In reply to Eclipse Genie from comment #12) > Gerrit change submitted: https://git.eclipse.org/r/41098 Based on the suggestion from Dani, we should use the new repo http://git.eclipse.org/c/platform/eclipse.images.git/ We still have to wait for the Gerrit activation via Bug 459291.
Now that we have a new repository https://git.eclipse.org/c/platform/eclipse.images.git/ we should use this. https://git.eclipse.org/c/platform/eclipse.images.git/ Tony, sorry for the repetitive work, but can you update your Gerrit review to target the new repository with the new name for the images bundles?
Tony, any update here?
The "new" repos still is empty. Will the stuff from the projects ecliplse.ui.images and eclipse.ui.images.renderer in eclipse.platform.ui repo still be moved into the new repo?
WARNING: this patchset contains 701034 new lines of code and may require a Contribution Questionnaire (CQ) if the author is not a committer on the project. Please see:https://wiki.eclipse.org/Project_Management_Infrastructure/Creating_A_Contribution_Questionnaire
This change is just a move from eclipse.platform.ui.git to eclipse.images.git. There are no new contributions, there are a some small changes like renaming plugins, poms, etc to reflect the new repository location.
Gerrit change https://git.eclipse.org/r/54932 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.images.git/commit/?id=0887ea19851dc00d2c7ae84f4b0eb523c5edf265
The first step is done with change 54932. I'm going to create a patch for removing the bundles at the original location in eclipse.platform.ui.
New Gerrit change created: https://git.eclipse.org/r/54935
(In reply to Eclipse Genie from comment #22) > New Gerrit change created: https://git.eclipse.org/r/54935 This change was abondaned. We need a new one.
New Gerrit change created: https://git.eclipse.org/r/55120
Gerrit change https://git.eclipse.org/r/55120 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=e6e341f3e6b90dd219ef8cec5c1b77f4b19c0e6c
The image bundles were moved to https://git.eclipse.org/c/platform/eclipse.images.git/ and have been removed from the eclipse.platform.ui repo.
(In reply to Tony McCrary from comment #26) > The image bundles were moved to > > https://git.eclipse.org/c/platform/eclipse.images.git/ > > and have been removed from the eclipse.platform.ui repo. Thanks Tony!
Why can't this repo follow the naming conventions and be called eclipse.platform.images? Why does the initial state in this repo not match the last state in the eclipse.platform.ui repo? E.g. the new /org.eclipse.ui.images/eclipse-png/org.eclipse.ant.ui/icons/full/elcl16/exportAnt_co.png is blurred again. And I don't find it OK to drop all the history and just start with a new commit. eclipse.images.git should be removed. A new eclipse.platform.images.git should be created that preserves history, e.g. like this: http://stackoverflow.com/a/17867910 .
(In reply to Markus Keller from comment #28) > Why can't this repo follow the naming conventions and be called > eclipse.platform.images? Can you check this with Dani? I cannot say for sure but IIRC Dani suggested the name?
The pre-move history is still in the eclipse.platform.ui git repo if it's needed. Do we really need to recreate the new repo?
Also, the repository contains many icons from projects other than platform (JDT, etc).
(In reply to Tony McCrary from comment #30) > The pre-move history is still in the eclipse.platform.ui git repo if it's > needed. Do we really need to recreate the new repo? I would think having the history in platform ui is sufficient, but I guess Markus would like to ensure that the icons are really the same. Tony, but why is Markus seeing different icons, especially incorrect icons like the blurry Ant icon? I assume his request for the history is related to the differences in icons. As the name of the repo was, according to my memory suggested by the PMC (Dani) I think we should be fine.
The ant icon is a special case where batik doesn't render it well. I rendered it in inkscape manually before the last release as a work around. It was probably overwritten during testing the new build. IIRC it's the only icon with that issue, I may look at recreating it for better batik support. Moving forward we may want to look at splitting the icons into two projects, source and raster icons. That way the icons have to be manually copied into the raster bundle instead of possibly getting overwritten by the render mojo.
(In reply to Tony McCrary from comment #33) > The ant icon is a special case where batik doesn't render it well. I > rendered it in inkscape manually before the last release as a work around. > It was probably overwritten during testing the new build. IIRC it's the only > icon with that issue, I may look at recreating it for better batik support. > > Moving forward we may want to look at splitting the icons into two projects, > source and raster icons. That way the icons have to be manually copied into > the raster bundle instead of possibly getting overwritten by the render mojo. Sounds good to me. @Markus, do you still see a need to rename and / or keep the history? If yes, can you clarify that with PMC (Dani)?
(In reply to Lars Vogel from comment #34) > @Markus, do you still see a need to rename and / or keep the history? If > yes, can you clarify that with PMC (Dani)? The name was chosen because it also contains PDE and JDT images. org.eclipse.sdk.images would also work for me though. The history needs to be preserved. > Why does the initial state in this repo not match the last state in the > eclipse.platform.ui repo? I'd also like to know that.
eclipse.platform.common also contains jdt and pde docs, and the eclipse.platform.releng and eclipse.platform.releng.aggregator repos also apply to the whole SDK. I know eclipse.platform.images is not fully correct, but following the naming convention makes releng tasks easier. Preserving the history makes it easier to track problems and their solutions. It avoids any changes that happened "by accident" during the transition and it makes all changes transparent.
(In reply to Markus Keller from comment #36) > eclipse.platform.common also contains jdt and pde docs, and the > eclipse.platform.releng and eclipse.platform.releng.aggregator repos also > apply to the whole SDK. I know eclipse.platform.images is not fully correct, > but following the naming convention makes releng tasks easier. Fair enough. Lars, can you make that happen please. Thanks.
(In reply to Dani Megert from comment #37) > Fair enough. Lars, can you make that happen please. Thanks. Sometimes it almost feels like you two guys sitting in the same office. ;-) I will ask Webmaster to redo his work, but it would be nice if this decision dance can be avoided in the future.
I was curious to know what it takes to extract some folders into a org.eclipse.platform repo and started some experiments. Turned out Git on Cygwin with the cursed Symantec Encryption Desktop is unusably slow. However, I think I got something very promising running on a Linux machine that should be done by tonight. I'll push the repo to the git.eclipse.org as soon as it's done and report back here. Webmaster can stay on hold this time.
(In reply to Markus Keller from comment #39) > I'll push the repo to the git.eclipse.org as > soon as it's done and report back here. Webmaster can stay on hold this time. Didn't know we can also create Git repos directly. Great to know.
OK, here's what I did: $ git clone eclipse.platform.ui eclipse.platform.images $ cd eclipse.platform.images $ git filter-branch --tag-name-filter cat --index-filter 'git rm --cached -qr -- . && git reset -q $GIT_COMMIT -- bundles/org.eclipse.ui.images bundles/org.eclipse.ui.images.renderer' --prune-empty -- master Unfortunately, this left some ugly branches at the beginning of the history. Removed those as well: Create a new empty root commit: $ git checkout --orphan root $ git rm -rf bundles $ git commit --allow-empty -m 'Repo created via Bug 422139: [Graphics] Move "org.eclipse.ui.images" to eclipse.platform.images git repo and rename to "org.eclipse.images"' Create a temporary graft that replaces the parent of the first commit we want to keep (a2ad3fbf) with the new root commit (f2c157d); then filter the branch again: $ echo "a2ad3fbf6a88aeeb945e7be7d5978f3785ffd716 f2c157d5170ae73f31d5d45197a140f2f665f30a" >> .git/info/grafts $ git filter-branch -f --tag-name-filter cat -- f2c157d5170ae73f31d5d45197a140f2f665f30a..master Then I removed unnecessary tags and the root branch, and moved/renamed the projects (including the names in the .projects files). The new repo is available at git://git.eclipse.org/gitroot/platform/eclipse.platform.images.git
My changes: - https://git.eclipse.org/r/#/c/54950/ - https://git.eclipse.org/r/#/c/54951/ are lost in the new eclipse.platform.images repo. :-( How do we get them back?
You could cherry pick your commits to push the changes to the new repo: https://wiki.eclipse.org/EGit/User_Guide#Cherry_Picking But perhaps it'd be best to wait a little bit in the event the repo is recreated or moved again. ;)
The new repo is done and can be used. It preserves the history and is very unlikely to be recreated or moved again. Sorry for having crashed the party. Tony: I just extracted the projects and their history from the ui repo. I didn't add the top-level pom.xml nor the other top-level files/folders because I don't don't have m2e installed and I'm sure I would have messed up at least the pom.xml if I tried to guess the necessary changes. Feel free to commit these files again whenever you want. You can also re-commit the other changes in sources, but you should not commit the bad Ant icons again. I agree that the current process makes it too easy to accidentally override these icons. (In reply to Tony McCrary from comment #33) > Moving forward we may want to look at splitting the icons into two projects, > source and raster icons. That way the icons have to be manually copied into > the raster bundle instead of possibly getting overwritten by the render mojo. Yes, or you could just move the affected SVG files to a separate folder, so that the icons are not automatically generated, or at least not into the eclipse-png/<project-name> folder. Cherry-picking into another repo is not trivial. The easiest would be to create a patch and apply it to the new repo. However, I guess Tony will just - rename the old projects from the eclipse.images repo - check out the new projects - rename the org.eclipse.ui.images.renderer package (remove the 'ui') - compare the old with the respective new project and copy over the relevant changes
So why did you create the new repo, then rename the bundles the wrong name that *you* complained about and then leave the *old* platform.ui name for all of the files?
(In reply to Tony McCrary from comment #45) > So why did you create the new repo - To preserve the Git history. - To give the repo a better name (all repos in /gitroot/platform/ start with eclipse.platform). > then rename the bundles the wrong name > that *you* complained about I did not complain about the bundle names. Only about the repo name and the lost history that makes it hard to track changes. The new bundle names org.eclipse.images and org.eclipse.images.renderer are fine for me. > and then leave the *old* platform.ui name for > all of the files? I thought it's easier if I commit the bundle renames right away, including the rename in the .project files that was missing in the eclipse.images.git repo. The Eclipse import wizard uses that name, and seeing an org.eclipse.*ui*.images project from the new repo was highly confusing. Regarding the contents of the bundles, I just left what was in the old repo. If you want, I can also copy over the other changes you applied to the eclipse.images.git repo. Except for the new png files and all the *.swp *~ and "* -Copy.* etc. files that your initial commit contained. Those files would have been easy to notice if they came in through a normal commit, but they also went under Lars' radar because they were hidden in a hard-to-review "initial" commit. Dani: Can you confirm the org.eclipse.images[.renderer] project names?
Created attachment 256453 [details] Changes from old repo This patch adds back in the latest changes from the first images repo, Bug 476272 and Bug 422139.
Gerrit doesn't seem to work for the new git repo, so add more wasted time for this endeavor. :(
(In reply to Tony McCrary from comment #48) > Gerrit doesn't seem to work for the new git repo, so add more wasted time > for this endeavor. :( Created Bug 476931 for the enablement of Gerrit for this new repo.
(In reply to Markus Keller from comment #46) > Dani: Can you confirm the org.eclipse.images[.renderer] project names? +1.
(In reply to Tony McCrary from comment #47) > Created attachment 256453 [details] [diff] > Changes from old repo > > This patch adds back in the latest changes from the first images repo, Bug > 476272 and Bug 422139. I fixed formatting issues (especially in the header comments) of: /org.eclipse.images.renderer/pom.xml /org.eclipse.images/pom.xml Please avoid using tools that format header comments (or tell them that's bad). Fixed with http://git.eclipse.org/c/platform/eclipse.platform.images.git/commit/?id=fbcf26553bf5db3d163806c8f73b9724eb950747 (In reply to Matthias Becker from comment #42) > - https://git.eclipse.org/r/#/c/54951/ Fixed with http://git.eclipse.org/c/platform/eclipse.platform.images.git/commit/?id=e96ee19a45c68315b1af87d77143f5c4f20b64ed
Thanks.