From Fedora Project Wiki
Line 76: Line 76:
Можно выполнить действие PreUpgrade в консоли <pre>preupgrade</pre> для быстрой установки с помощью Anaconda.  См. [http://fedoraproject.org/wiki/How_to_use_PreUpgrade Как использовать PreUpgrade] для более детальной информации; просто выберите  "Rawhide" когда выбираете версию Fedora, которую собираетесь устанавливать.
Можно выполнить действие PreUpgrade в консоли <pre>preupgrade</pre> для быстрой установки с помощью Anaconda.  См. [http://fedoraproject.org/wiki/How_to_use_PreUpgrade Как использовать PreUpgrade] для более детальной информации; просто выберите  "Rawhide" когда выбираете версию Fedora, которую собираетесь устанавливать.


== Testing Rawhide ==
== Тестирование Rawhide ==


There are two important things all Rawhide testers should do. First, read the [https://www.redhat.com/mailman/listinfo/fedora-test-list fedora-test-list] mailing list, where Rawhide users discuss the latest changes. You'll find discussion of significant changes and warnings of severe breakages here. Reading test-list daily is key to staying on top of Rawhide. Secondly, report all the bugs you find in Rawhide to [http://bugzilla.redhat.com Bugzilla]. Remember to file bugs according to these [[BugsAndFeatureRequests|best practices]]. Please remember that bugs should always be filed in Bugzilla. Reporting bugs on the mailing list or IRC is not sufficient, as these reports rapidly become lost in history. Only on Bugzilla will they always be accessible to other testers and to the developers.
Существуют две важные вещи, которые все тестирующие Rawhide дожны выполнять. Во-первых, читать[https://www.redhat.com/mailman/listinfo/fedora-test-list fedora-test-list] список рассылки, здесь пользователи Rawhide обсуждают последние изменения. Вы найдёте обсуждение значительных изменений или предостережения о серьезных сбоях. Чтение этой рассылки является ключём, к том что бы использовать новейшую версию Rawhide. Во-вторых, сообщайте обо всех ошибках, которые вы найдёте в [http://bugzilla.redhat.com Bugzilla] Rawhide. Remember to file bugs according to these [[BugsAndFeatureRequests|best practices]]. Пожалуйста, помните что об ошибках нужно сообщать в Bugzilla. Сообщения об ошибке в список рассылки или IRC недостаточно, т.к. этот отчет быстро потеряется в анналах истории. Только сообщения в Bugzilla будут всегда доступны для тестирующих Rawhide и для разработчиков.


Beyond that, here is some general advice which may be of use in using Rawhide:
Beyond that, here is some general advice which may be of use in using Rawhide:

Revision as of 14:33, 14 October 2009

Rawhide - так называется разрабатываемая в данный момент версия Fedora, состоящая из дневного среза последних скомпилированных версий всех пакетов Fedora.

Rawhide зеркала

Rawhide носит название "development" в дереве каталогов зеркал. Вы можете найти зеркало по следующей ссылке:
http://mirrors.fedoraproject.org/publiclist/Fedora/development/

Кому нужен Rawhide?

Rawhide не нужен если вы хотите использовать свой компьютер в качестве обычной, стабильной рабочей станции. Так как Rawhide это разрабатываемая ветка, большинство изменений серьезно не тестировались (или не тестировались вообще) до включения сюда, и пакеты могут не работать без каких либо предупреждений. Вот почему ошибки, содержащиеся в Rawhide могут привести к потере данных. Однако, тестирование Rawhide очень важный вид деятельности, который помогает обеспечить высокое качество стабильных релизов. Кроме того, это простой способ опробовать последние версии программного обеспечения по мере их появления. Тестирование Rawhide это отличный способ внести свой вклад в разработку Fedora. Вы можете опробовать Rawhide ночную live сборку без установки на компьютер. Или вы можете установить её на запасной компьютер, на основной компьютер с использованием двойной загрузки или используя виртуальную машину.

Ночные live сборки

С августа 2009 года доступна ночная live сборка. Она собирается автоматически, без дополнительной настройки или тестирования, поэтому иногда она не умещается на одном CD и может не работать вообще. Если появляется ошибка в инструментах сборки (toolchain), образ может вообще не собраться, в этом случае доступна последняя ночная сборка. Использование такой ночной сборки является идеальным способом потестировать Rowhide если у вас нет свободной машины, свободного раздела на диске или свободного времени на поддержку Rawhide установку. Это совершенно безопасный способ протестировать Rawhide, потому что не делается никаких изменений в установленной системе.

Установка Rawhide

Rawhide можно установить, однако, так как сборка создаётся автоматически, отдельные сборки могут не устанавливаться по той или иной причине. Существует три способа установить Rawhide.

Как избежать изменений в установленной системе

Существует несколько методов тестирования Rawhide на компьютере без изменений существующей системы:

  1. Тестировать Live версию с CD, DVD или USB носителя.
    • См. http://fedoraproject.org/get-prerelease для загрузки (milestone не ежедневный) пре-релиз ISO.
    • См. http://alt.fedoraproject.org/pub/alt/nightly-composes/ если хотите протестировать пре-релиз ISO собранный из ежедневной сборки. Доступны различные ежедневные сборки, но "desktop" сборка одна из наиболее распространенных.
    • Чтобы за записать CD или DVD, см. инструкцию по записи ISO.
    • Чтобы записать USB см. How to create and use Live USB.
    • Если вы используете LiveUSB с хранилищем данных, вы можете использовать метод "yum update", описанный ниже, чтобы получить последнюю ежедневную сборку Rawhide RPMs (за исключением ядра). Однако рекомендуется загружать ежедневный ISO образ, вместо использования данного метода.
  2. Используйте виртуальную машину. См. Testing/qemu.
  3. Установите в отдельный раздел.

Обновление с помощью Yum из официального релиза

Подробную информацию по установке подходящего релиза Fedora см. на странице Руководство по установке.

Как только ваша система будет установлена, вы можете обновить из репозитария rawhide двумя способами. Используя графические приложения:

  1. Сначала измените источники программного обеспечения (software sources) с помощью: gpk-repo
    • Оставьте отмеченным только Fedora - Rawhide источник
  2. Затем обновите систему с помощью: gpk-update-viewer

Или вы можете обновить систему используя консоль:

  1. Наберите:
    # yum --disablerepo=* --enablerepo=rawhide update

Возможно вы пожелаете включить/выключить репозитарии указанные в /etc/yum.repos.d/, так чтобы только репозитарий "Fedora Development" был доступен. Это позволяет обновлять ежедневную сборку Rowhide с помощью уведомлений появляющихся на рабочем столе или с помощью "yum update".

Из пре-релизов Fedora

Скачайте дистрибутив с: http://fedoraproject.org/get-prerelease

Протестируйте релиз Fedora который по умолчанию сконфигурирован на обновление из Rawhide репозитария, таким образом вы можете запустить "yum update" или подождать появления уведомления об обновлении на рабочем столе.

Вопросы по обновлению с пре-релиза до основного релиза Fedora обсуждаются на странице

https://fedoraproject.org/wiki/Upgrading_from_pre-release_to_final

Прямая установка ежедневной сборки Rawhide

Такой же процесс, какой используется для установки релиза Fedora (с помощью Anaconda), может быть использован и для установки rawhide. Для просмотра описания этого процесса взгляните на Руководство по установке.

  1. Определите архитектуру вашей системы
  2. Отыщите ближайшее зеркало с которого вы можете загрузить установочный носитель
  3. Загрузите файл boot.iso для вашей архитектуры
  4. Запишите загруженный образ на CD/DVD
  5. Загрузитесь с CD/DVD диска
Idea.png
Нет CD/DVD или запасного привода?
См. советы по установке системы, без использования привода, с помощью сетевого интерфейса http://docs.fedoraproject.org/install-guide/f39/en-US/html/ap-medialess-install.html.

Следуйте инструкциям графического установщика Anaconda, появляющимся на экране. Установка очень проста. Вам необходимо выполнить HTTP/FTP установку. В качестве URL вашего 'install tree', используйте "<mirrorroot>/development/<arch>/os/" где <mirrorroot> это зеркало, URL которого вы получили со списка зеркал.

С помощью Preupgrade

Можно выполнить действие PreUpgrade в консоли

preupgrade

для быстрой установки с помощью Anaconda. См. Как использовать PreUpgrade для более детальной информации; просто выберите "Rawhide" когда выбираете версию Fedora, которую собираетесь устанавливать.

Тестирование Rawhide

Существуют две важные вещи, которые все тестирующие Rawhide дожны выполнять. Во-первых, читатьfedora-test-list список рассылки, здесь пользователи Rawhide обсуждают последние изменения. Вы найдёте обсуждение значительных изменений или предостережения о серьезных сбоях. Чтение этой рассылки является ключём, к том что бы использовать новейшую версию Rawhide. Во-вторых, сообщайте обо всех ошибках, которые вы найдёте в Bugzilla Rawhide. Remember to file bugs according to these best practices. Пожалуйста, помните что об ошибках нужно сообщать в Bugzilla. Сообщения об ошибке в список рассылки или IRC недостаточно, т.к. этот отчет быстро потеряется в анналах истории. Только сообщения в Bugzilla будут всегда доступны для тестирующих Rawhide и для разработчиков.

Beyond that, here is some general advice which may be of use in using Rawhide:

  • Approach the test release as a valuable chance to learn more about your system. There is a good chance you will run into some bugs in subsystems or components that you are very unfamiliar with as part of the testing process. Use this an opportunity to learn more about that particular subsystem and get familiar with its documentation. Even documentation has bugs, by following up and trying to learn from the documentation you might be able to help clean up badly worded or out of date documentation as well. The more you learn, the more effective you will be in the future if you participate in the development process again. Be as proactive as you can about reading up on how things work and you will have a much more valuable experience overall.
  • When using yum, take the time to review the list of package actions before you proceed. Don't disable the review step.
  • Get familiar with the /var/log/rpmpkgs and /var/log/yum.log log files.
  • Get a notebook and make notes about system configuration changes you make. Many problems can be traced to simple configuration errors, but can appear as package update bugs. When working with other testers to confirm the problem, notes as to the other changes you have made since last update/reboot can be invaluable in tracing the problem down accurately.
  • Keep at least one older kernel around that you are confident works as expected.
  • Reboot daily, to test to see if any of your updates have affected startup. Its much more difficult to track down a boot up problem that was caused by an old update, if you are updating daily but have not rebooted.
  • Get familiar with useful grub features for troubleshooting boot up failures.
  • Don't force or nodeps any package to work around dependency problems. Instead, report them as bugs or to test-list. If no-one reports these problems, they will never get fixed, and will persist into stable releases.
  • Because the development tree is not guaranteed to be internally consistent every day, you will frequently see yum update fail with errors. Don't Panic. Most dependency problems will be fixed by the developers in one or two days, sometimes simply by requesting more package rebuilds. If you see a dependency problem with yum update on your system for several days in a row, and see no discussion of it on test-list, see below to decide whether and how you should report it.
  • If there is one error (such as a package depending on an old library major) holding you back from a full Rawhide update, you can use yum update --skip-broken to update all other packages. However, make sure the error has been reported to the maintainer of the offending package.
  • You might need to disable GPG check in /etc/yum.conf or the fedora-devel repository in /etc/yum.repos.d if packages are incorrectly signed.

When to Report Update Problems

There is a daily build report of the development tree sent to the fedora-test-list every morning as part of the automated push of packages out to the publicly accessible trees. The daily report contains information about new, removed and updated packages. It also contains a summary of known dependency problems for each arch for which the development tree is built for. Please, if you experience any problem updating against the development tree the first thing you should review is the last two or three build reports. If you are seeing a dependency problem summarized in the latest build report, you can be sure the developers are aware of the problem. Package maintainers receive daily emails when their packages are on this list.

Note that the broken dependency list which is part of the daily rawhide reports only provides the first layer of dependencies and not the entire list to save build time. Unlisted packages might also be affected, but fixed when one or more of the listed packages are rebuilt.

If however the problem lingers longer than a few days on your system, and the problem package is not listed in the daily report, that could be an indication that you have run into a situational bug that not everyone is seeing. This is when you can spring into action as a tester and make a difference. But, before you file a new bug report there is a short recipe you can follow to avoid filing unnecessarily. Please remember that test releases exist primarily to help the developers identify problems so they can be fixed in time for release. Unfortunately, reactionary bug filing of duplicate or well known issues can take developer time away from actually fixing issues.

  1. read fedora-test-list: Go back into your archives or the web archives for fedora-test-list and read over the threads in the last 48 hours and see if there has been any discussion about the specific update errors you have been seeing. Generally, these sorts of errors are seen by most everyone with similar hardware, so its a very good chance that other testers are already discussing it. Please don't just post a new post to fedora-test-list until after you have reviewed the last 48 hours worth of posts. Having multiple discussions about the same issue is a drain on the time of other testers and developers.
  2. search http://bugzilla.redhat.com: Search to see if there are any reports about the update issue you have seen
  3. drop a note into fedora-test-list: Please only start a new thread only after you attempted to find previous discussion of this problem in the test-list or in bugzilla. Other testers can help you confirm the problem, or if they can't confirm it they can help you determine if its a configuration problem or user error on your part. The test-list is a great way to assistance from other more experienced testers, but please do what you can to use the archives responsibility to avoid duplication of information and discussion.
  4. File a new bug report: If the exact nature of the dependency problem during updating is lingering for several days or if the problem seems specialized to your situation and it doesn't appear that the developer is aware of this problem.... file a new bug. If you are unsure how to file, experienced testers in fedora-test-list can make suggestions. Please don't assume its a yum bug. Most dependency issues are packaging bugs in one of the packages detailed in the error messages.

What does it mean when something "hits Rawhide"?

Rawhide is automatically generated once daily from the latest packages that are built. Packages that are built one day are generally in the next days rawhide.

(For the curious, the compose is done at Midnight US Eastern, 0400/0500 UTC.)

What is a rawhide "push"?

A rawhide push is simply the rawhide spin for that day. Occasionally, if the push is extremely broken, it may be regenerated more than once.

Where do I communicate issues in Rawhide ?

Use the fedora-test list or #fedora-qa IRC channel in Freenode. For bugs, report them to http://bugzilla.redhat.com

How can I know what is changing in Rawhide?

Nightly reports are sent to fedora-test-list and fedora-devel-list, with the subject 'rawhide report: <date> changes'. Included in these reports are what packages have been added, removed, or updated (with short changelog snippets), along with a list of any broken dependencies.

http://git.fedoraproject.org/ and http://hg.fedoraproject.org/ and https://fedorahosted.org/ are good places to look at the upstream state of many Fedora projects.