User talk:Argonel: Difference between revisions

From KDE TechBase
mNo edit summary
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
Here we continue the discussion previously on scm-interest@kde.org mailinglist.  
[http://quickgit.kde.org/index.php?p=kdelibs.git&a=commitdiff&h=2b7bb340d71a4c97604adc1952db261be7f2a35a&hp=5d5feb138ae85693a5217b99ec646745825c43ea kdelibs.git&a=commitdiff&h=2b7bb340d7]


The IRC channel is #kde-git on freenode.
[http://quickgit.kde.org/index.php?p=kdelibs.git&a=blobdiff&h=01d4050a347a54af3266e85d554b9075cab7616d&hp=0b4a99a0b207b76e6cdfced2e624d6ea4171f62b&hb=2b7bb340d71a4c97604adc1952db261be7f2a35a&f=khtml/CMakeLists.txt khtml/CMakeLists.txt]


It has been decided that KDE will move from svn to git on gitorious do we have an official statement of such or anything we can refer to for this? -Jeremy Whiting 9/24/09 9:38 AM . <br>Amarok has made the plunge already and has shown a couple issues that will need solving before KDE moves over also. Use this document to enumerate those issues (and any others you find of course) with the migration, and to record progress on each issue.  
http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi


I've also added the list from GCDS that was in this email [http://markmail.org/message/u6eqfjece7fibfyo http://markmail.org/message/u6eqfjece7fibfyo]
http://techbase.kde.org/Development/CMake/Addons_for_KDE


; KDE4_ADD_APP_ICON(appsources pattern)
*: Mac OS X and Windows only: Adds application icon to target source list. This macro adds an application icon to the specified target. Mac OS X notes: the application icon is added to a Mac OS X bundle so that Finder and friends show the right thing. You need to provide a 128x128 version of the icon for this to work. Windows notes: the application icon(s) are compiled into the application binary.
*:Parameters:
*# 'appsources'  - specifies the list of source files
*# 'pattern'    - regular expression for searching application icons


=Remaining issues that must be solved before the migration.=
Examples:
<syntaxhighlight lang="cmake">
KDE4_ADD_APP_ICON(myapp_sources "pics/cr*-myapp.png")
</syntaxhighlight>
<syntaxhighlight lang="cmake">
KDE4_ADD_APP_ICON(myapp_sources "${KDE4_INSTALL_DIR}/share/icons/oxygen/*/apps/myapp.png")
</syntaxhighlight>


==e-mail notifications==
<pre>
{{Progress bar|1.0}}
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${KDE4_ENABLE_EXCEPTIONS}")
'''Owner:''' (Gitorious wants to fix this)
#set_source_files_properties(${khtmldom_STAT_SRCS} PROPERTIES COMPILE_FLAGS ${KDE4_ENABLE_EXCEPTIONS})
</pre>


:Everyone added to the kde-developers group gets an e-mail when anyone makes a merge request to any of our projects. This is undesirable (as most kde devs are not Amarok devs and many other permutations). A solution for this will have to be developed on gitorious before all of kde goes to gitorious
http://en.wikipedia.org/wiki/Help:List


'''Discussion'''
http://en.wikipedia.org/wiki/Help:Wiki_markup#Nowiki
 
:See response to ACL support -Mike Arthur 19/10/2009 16:09
 
::just because someone needs commit rights to a project doesn't mean they want to listen to all merge requests for that project. also what about kwin vs plasma vs konqueror vs whatever-else in kdebase... --Chani
 
 
 
==Method for joining the team==
{{Progress bar|0}}
'''Owner:''' ''(unknown)''
 
:A button to join the kde-developers team would be very useful instead of needing to poke admins. This would probably use a similar mechanism to current method for granting svn accounts, i.e. two people vouch for a person to let them in the team.
 
'''Discussion'''
 
 
 
==ACL support==
{{Progress bar|0}}
'''Owner:''' ''(unknown)''
 
:Support for access control lists. ''from gcds:'' 1 project for all accounts on gitorious? sub-project membership? how should gitorious account system work?
 
'''Discussion'''
 
:Each project needs owned by one group so the kdebase/kdepim/etc groups might work well here -Mike Arthur 19/10/2009 16:08
 
::wait, what? why? iirc we decided everyone would be in the kde-developers group... --Chani
 
 
 
==Account setup on Gitorious==
{{Progress bar|0}}
'''Owner:''' ''(unknown)''
 
:How do the people get accounts on gitorious? Telling them to make one themselves puts up a big hurdle that people don't need.
 
'''Discussion'''
 
:Really? It just requires an email/username/password, I'd be amazed if that's a "big hurdle" for people... -Mike Arthur 19/10/2009 16:02
 
 
 
==Commitfilter==
{{Progress bar|98}}
'''Owner:''' Ian Monroe
 
:Commit filter is not implemented on gitorious (or something similar) though rss feeds for each module you are interested in can be subscribed to in the meantime.
 
'''Discussion'''
 
:fixed, but how does one subscribe to notices?
 
 
 
==pre-commit hooks==
{{Progress bar|0}}
'''Owner:''' ''(unknown)''
 
:acltest, docbook, EOL/UTF-8
 
:A web hook isn't good enough for these because they have to run and return whether to allow the push, for every single push to every kde repo.
 
'''Discussion'''
 
:gitorious guys said they *might* be willing to allow a few scripts on their server for kde as a special exception, iirc. --chani
 
:: Yes, at least for basic things, heavier things like doc building would probably have to be mirrored (goes for pre/post) --johan-s
 
 
 
==post-commit hooks==
{{Progress bar|0}}
'''Owner:''' ''(unknown)''
 
:* BUG/CCMAIL
:* email/CIA
:* license header checks
 
:Gitorious is supposed to provide web hooks for this; have they started? who volunteered to write the scripts once that's done?
 
'''Discussion'''
 
:There is a branch of gitorious called web-hooks http://gitorious.org/gitorious/mainline/commits/web-hooks --Panagiotis Papadopoulos 1 November 2009
 
 
 
==Get rid of svn:externals==
{{Progress bar|0}}
'''Owner:''' David Faure
 
:not possible with git, broken by design.
 
'''Discussion'''
 
:Is there a list of instances of svn::externals anywhere?- -[[User:Yokem55|Yokem55]] 19:27, 1 November 2009 (UTC)
 
 
==Snapshot to read-only svn==
{{Progress bar|0}}
'''Owner:''' Simon
 
:It's work, but maybe some people would like it. NEEDED for documentation, in order to get it back into SVN for the translators/scripty/?
 
'''Discussion'''
 
:Could be done with a git-svn gateway presumably? -Mike Arthur 19/10/2009 16:04
 
 
 
==[[Development/Tutorials/Git|Techbase Documentation]]==
'''Owner:''' Chani, greeneg, - ''please help out!''
{{Progress bar|10}}
 
:At least minimal documentation about how to checkout, how to get a gitorious account, how to request a merge needed, other git documentation and links to other git information would be very useful also.
 
'''Discussion'''
 
 
=Nice to have before the migration:=
 
 
==Talk to people using other distros about git==
{{Progress bar|0}}
'''Owner:''' Sebas
 
'''Discussion'''
 
 
 
==Talk to windows guys about git.==
{{Progress bar|0}}
'''Owner:'''  Danimo
 
'''Discussion'''
 
 
 
==Reviewboard==
{{Progress bar|91}}
'''Owner:''' darktears
 
This should be easily done with gitorious web interface and merge requests actually.
 
'''Discussion'''
 
:but reviewboard has features gitorious (right now) doesn't, like commenting on specific lines and not having to set up a merge request. --chani
::Also email notifications when someone reviews are needed --thomasz
:We're working on this for someone else right now, so pretty soon --johan-s
 
 
 
 
==Email all kde-developers==
{{Progress bar|0}}
'''Owner:''' ''Unknown''
 
:We need a mechanism (possibly as simple as a new field on kde-common/accounts) that will let us do stuff like email all account holders. This is important for major announcements, and for invalidating dead accounts.
 
:Gitosis uses a similar file on the hosting side, maybe we could ask Johan if he can provide some kind of access to it.
 
'''Discussion'''
 
:There may be some privacy issues here, unless users opt-in to it --johan-s
 
 
 
==SSH blocked in corporations and universities.==
{{Progress bar|100}}
'''Owner:''' ''Unknown''
 
:Some universities tend to block the SSH port. There should be a workaround to use SSH on some different port. github.com already runs a SSH server on port 443. But that assumes you are using a proxy. It has been found that this hasn't worked with a lot of people, especially those who have a direct connection to the internet ( so some transparent blocking by the ISP ). It would be great if (almost) every KDE developer were to be asked to check if other ports work before KDE made the switch. Otherwise there could be an automated email where the git patches could be sent, and appropriately patched to the right location too.
 
'''Discussion'''
 
:http://blog.gitorious.org/2009/10/20/stuck-behind-a-firewall/, and there's always been HTTP cloning (although the current impl. in Git is a bit on the slow side) --johan-s
 
 
 
=Other post-migration stuff:=
 
==Website Branding==
{{Progress bar|2|text=(initial ideas on the table)}}
'''Owner:''' ruphy
 
:KDE gitorious should be branded accordingly
 
'''Discussion'''
 
 
 
=convert all accounts to SSH=
= multiple git repos joined =
use repo tool from android?
 
= other notes =
KDE accounts file is no longer useful---used for mapping svn ID -> email, but we have that now from gitorious.
 
http://mail.kde.org/pipermail/dot-stories/2005-May/000509.html might be a good guide on what docs we need.
 
= jobs =
 
michael jansen: talking to kdesvn-build/mpyne<br/>
--Done? -> http://kdesvn-build.kde.org/releases/kdesvn-build-1.10.php -- Panagiotis Papadopoulos 1 November 2009
 
thiago and sebas: funding
 
jonas: domain name
 
thiago: actually convert :D (ThomasZ put some work in the converter tool to make it easier to use; see his 'svn2git' project on gitorious.org)
 
ML: convert to SSH
 
chani: techbase docs for scripty
 
thiago: pre/post-commit hooks
 
sebas/lydia/leo: communication with teams! tell people! keeping track that
everything is being done.
 
= timeline =
 
amarok first, then also phonon... then talk about whether to go all together or piecemeal. thiago prefers all at once. --> ideally before 4.4 freezes, but it has to be after 4.3 is branched.

Latest revision as of 09:45, 20 July 2012

kdelibs.git&a=commitdiff&h=2b7bb340d7

khtml/CMakeLists.txt

http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi

http://techbase.kde.org/Development/CMake/Addons_for_KDE

KDE4_ADD_APP_ICON(appsources pattern)
  • Mac OS X and Windows only: Adds application icon to target source list. This macro adds an application icon to the specified target. Mac OS X notes: the application icon is added to a Mac OS X bundle so that Finder and friends show the right thing. You need to provide a 128x128 version of the icon for this to work. Windows notes: the application icon(s) are compiled into the application binary.
    Parameters:
    1. 'appsources' - specifies the list of source files
    2. 'pattern' - regular expression for searching application icons

Examples:

KDE4_ADD_APP_ICON(myapp_sources "pics/cr*-myapp.png")
KDE4_ADD_APP_ICON(myapp_sources "${KDE4_INSTALL_DIR}/share/icons/oxygen/*/apps/myapp.png")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${KDE4_ENABLE_EXCEPTIONS}")
#set_source_files_properties(${khtmldom_STAT_SRCS} PROPERTIES COMPILE_FLAGS ${KDE4_ENABLE_EXCEPTIONS})

http://en.wikipedia.org/wiki/Help:List

http://en.wikipedia.org/wiki/Help:Wiki_markup#Nowiki