Junior Jobs
Материал из openSUSE
EGDFree (Обсуждение | вклад) м (→How to fix a bug) |
Alexqwesa (Обсуждение | вклад) м |
||
| Строка 7: | Строка 7: | ||
The openSUSE Build Service team maintains a [[Build_Service/Junior_Projects|wiki page]] with tasks that can be picked up by community. | The openSUSE Build Service team maintains a [[Build_Service/Junior_Projects|wiki page]] with tasks that can be picked up by community. | ||
| - | == | + | == Ошибки в пакетах == |
| - | + | Пакеты часто содержат ошибок и довольно много из них легко исправить, и эти ошибки могут быть помечены как ''Работа для начинающих'' (''Junior Job''). | |
| + | ''' Если ошибка отмечена как ''Junior Job'' - это не значит, что сопровождающий пакета забыл о ней!''' - если не найдется волонтера готового исправить ее, то в конечном счете это сделает разработчик. Это просто легкий способ узнать, как внести свой вклад в проект. | ||
== Как это работает == | == Как это работает == | ||
| Строка 16: | Строка 17: | ||
# Он добавляет префикс ''JJ: '' в сводку ошибки | # Он добавляет префикс ''JJ: '' в сводку ошибки | ||
#* There is an edit link next to the summary at the end of bugzilla page | #* There is an edit link next to the summary at the end of bugzilla page | ||
| - | # | + | # Желающий принять участие (далее - участник) находит подобные ошибки с помощью - http://tr.im/opensusejj |
| - | # | + | # Участник сообщает о том что он желает исправить эту ошибку и сколько времени это приблизительно займет в комментарий |
| - | #* | + | #* Что-то вроде: "''I'll take care of this during the weekend''" ("''Я исправлю это в конце недели''") |
# Contributor fixes bug, report it upstream whenever appropriate, send submitrequest to the devel project and puts request number into bugzilla | # Contributor fixes bug, report it upstream whenever appropriate, send submitrequest to the devel project and puts request number into bugzilla | ||
| - | #* | + | #* Если в течении указанного периода ошибка не была исправлена - она будет передана другому участнику, либо исправлена разработчиком |
# Maintainer will review the request and either accept it and push it to the factory or decline it and tell contributor what was wrong and needs to fixed | # Maintainer will review the request and either accept it and push it to the factory or decline it and tell contributor what was wrong and needs to fixed | ||
| - | === | + | === Как исправить ошибку в пакете === |
* Create your own branch you will work on <br> <tt>osc branch openSUSE:Factory ''package''</tt> | * Create your own branch you will work on <br> <tt>osc branch openSUSE:Factory ''package''</tt> | ||
Версия 19:27, 31 октября 2009
| Эта статья содержит фрагменты на иностранном языке . Вы можете помочь проекту, переведя её до конца. |
Junior Job - это работа над ошибками с низким приоритетом, который легко исправить. Каждый разработчик иногда допускает такие ошибки. В идеале программа не должна их содержать, но обычно у разработчика есть много гораздо более важных и неотложных дел (например: ошибки с высоким приоритетом), поэтому такие ошибки могут долго ждать исправления. Это хорошая возможность для тех членов сообщества, которые хотят участвовать в разработке, но не знает как.
Содержание |
openSUSE Build Service Jobs
The openSUSE Build Service team maintains a wiki page with tasks that can be picked up by community.
Ошибки в пакетах
Пакеты часто содержат ошибок и довольно много из них легко исправить, и эти ошибки могут быть помечены как Работа для начинающих (Junior Job). Если ошибка отмечена как Junior Job - это не значит, что сопровождающий пакета забыл о ней! - если не найдется волонтера готового исправить ее, то в конечном счете это сделает разработчик. Это просто легкий способ узнать, как внести свой вклад в проект.
Как это работает
- Разработчик решает что ошибка подходит для Junior Job
- Он добавляет префикс JJ: в сводку ошибки
- There is an edit link next to the summary at the end of bugzilla page
- Желающий принять участие (далее - участник) находит подобные ошибки с помощью - http://tr.im/opensusejj
- Участник сообщает о том что он желает исправить эту ошибку и сколько времени это приблизительно займет в комментарий
- Что-то вроде: "I'll take care of this during the weekend" ("Я исправлю это в конце недели")
- Contributor fixes bug, report it upstream whenever appropriate, send submitrequest to the devel project and puts request number into bugzilla
- Если в течении указанного периода ошибка не была исправлена - она будет передана другому участнику, либо исправлена разработчиком
- Maintainer will review the request and either accept it and push it to the factory or decline it and tell contributor what was wrong and needs to fixed
Как исправить ошибку в пакете
- Create your own branch you will work on
osc branch openSUSE:Factory package - Checkout the sources
osc co home:login:branches:project/package - Get to the right directory ;-)
cd home:login:branches:project/package - If you need to patch anything, quilt may be usefull
- Unpack source
quilt setup package.spec - Get to the right directory again ;-)
cd unpacked_package_directory - Apply all existing patches
quilt push -a - Create new patch
quilt new package-version-brief-description.patch - Add files to be modified
quilt add file - Modify files (this and the previous task could be done together with quilt edit file)
- Create final patch
quilt refresh -p0 package-version-brief-description.patch
- Unpack source
- Don't forget to mark all new patches and add entry to the .changes file using osc vc
- After fixing everything and reporting things upstream, all that is left is to submit the changes to the build service:
- run first - only if you added or removed files
osc addremove - then commit the changes
osc commit - and send a submitrequest to the maintainer
osc sr -m 'Fixed bug #1234'
- run first - only if you added or removed files
- And of course report to the bugzilla that bug is fixed in request
- Something like "Fix sent as sr#456, reported upstream http://bugzilla.foo.bar/?id=1234"
- After acceptance, your name will be in changelog forever
- List of Junior Jobs already done: http://tr.im/opensusejjfixed

