本节的翻译还未完成。在未完成之前,所有的未完成部分都将使用英语原文。
Index
The Filter
The List
The Info Area
HaikuDepot and Show menu
Creating a User Account
Rating and Commenting
Diagnostic Logs
Tips

haikudepot-icon_64.pngHaikuDepot

桌面栏:应用程序
位置:/boot/system/apps/HaikuDepot
设置:~/config/settings/HaikuDepot/main_settings
~/config/cache/HaikuDepot/ - 缓存图标,截图,描述文件等。


HaikuDepot is the central application when it comes to managing your software packages. With it you can browse and search through package repositories and install and uninstall packages. By default, HaikuDepot starts up with a list of "Featured packages", software that's deemed interesting to many users.

haikudepot.png

The second tab shows All packages, the display changes to smaller icons and more information arranged in columns:

haikudepot.png

index The Filter

At the top we find a few means to filter the list of available packages below:

index The List

Like in any Tracker window, you can choose from a context menu which columns to display by right-clicking the column heading. A left-click sorts the list according to that column. Of course, you can rearrange the columns by dragging them to a new position.

The Date column shows when a packge was added or updated. Sort by this column to see what's new or updated at the top of the list.

The Status column of a package can have one of several states:

The date column shows when the server system recorded the specific version of the package. Owing to possible delays in the publishing process, this date may not be entirely accurate.

You can grab the dotted line between the packages list and the info area to vertically resize the packages list.

index The Info Area

At the bottom is an area that displays information on the package that is currently selected in the list above it.
To the right of package name, author, rating and version is a button, that – depending on the current state of the package – lets you Install or Uninstall it. If a package is already installed, you'll find an additional button there to Open the application.

Below are four tabs: About, Ratings, Changelog and Contents.

index HaikuDepot and Show menu

In the HaikuDepot menu at the top of the window, you'll find an item to Refresh repositories. This will request an up-to-date list of all available packages from the repositories.
The second item is to Manage repositories…. It opens the Repositories preferences, to add/remove or disable and enable repositories.
Check for updates… opens the SoftwareUpdater to search and install updated packages.
Settings… opens a window with the currently only option: Share anonymous usage data with HaikuDepotServer. The data is used to, for example, increase a counter on how often a package is viewed and installed, which then can determine if a package is promoted to the "Featured packages" list.

Under Show you can choose to also display Develop packages and Source packages in the packages list. For the normal user those are of no interest and would only clutter the list. They are important, however, for people who need the libraries, headers etc. of a package to develop and compile programs depending on them.

Of more interest are the options to only show Available packages and Installed packages.

index Creating a User Account

To be able to rate a package, you need a user account at the Haiku Depot Server that serves all the packages and keeps track of ratings and user comments. You can create an account within the HaikuDepot application by clicking on the menu in the far right of the menu bar that shows your current status: Not logged in. Choosing Log in… opens a window with two tabs; one to enter your user name and password (once you have those) to log in, and the other to create a new account:

haikudepot-login-tab.png

To create an account you need to:

After logging in, the top-right menu of the HaikuDepot window will now say Logged in as (…), showing your user name. The menu now offers you to Switch account... or Log out.

As a reminder of what you actually agreed to when you ticked the above mentioned checkbox, there are menu items to View latest/agreed usage conditions…

index Rating and Commenting

After you've created a user account and are logged in, you can rate a package and leave a comment, if you want. Just hover the mouse over the rating stars in the info area of a package and they turn into a Rating... button. Click it to open the rating window:

haiku-depot-ratingpanel.png

Here you move the mouse over the stars to light them up and choose your rating, you can also choose from a number of levels to judge the stability of the application and pick the language of your optional comment. To make a comment meaningful, you should have worked with the application you're about to rate for a while to become familiar with its features, bugs and quirks. And don't write the next great American novel... keep it short, sweet and polite. :)
After you click Send the data is transmitted to the server. You may have to go to the Tools menu to Refresh repositories before you can see your changes.

At any time, you can come back and edit your comment and re-rate it. You can also hide your rating from other users by deactivating a checkbox This rating is visible to other users, that appears in this window once you've rated a package.

index Diagnostic Logs

As HaikuDepot is used, it interacts with network as well as local services. Things can go wrong, sometimes in ways that were not anticipated when the application was written. In those cases the error message may be quite unspecific. To help diagnosing a given problem, HaikuDepot can provide a log of what the application does.

An error message may suggest to view the logs to get further in-depth information or you may be asked to provide the log when you file an issue at the Haiku bug tracking system.

To see the diagnostic logs, HaikuDepot needs to be started from Terminal:

HaikuDepot -v debug

The command uses the -v flag to control the verbosity of the diagnostic logs. Possible values are: off, info, debug and trace. Using off will do only a small amount of logging, while trace does it in the highest detail.

As HaikuDepot starts up and when interacting with the application, you will see text scroll by in the Terminal window; this is the diagnostic log.

index Tips

There is another way to keep track of new and updated packages besides sorting the Date column of the list of packages. For that, you need to create an RSS ATOM feed at the Haiku Depot Server website. Click the "hamburger" widget at the top right, and choose Build Feed URL under Data.
Most interesting of the few settings on that page: Besides getting a feed for all new/updated packages, you are also able to add just the names of the packages you're interested in. Click the Build Feed URL button and you get an RSS URL that you can paste into an RSS feed reader like BePodder, QuiteRSS, fRiSS etc.