remove community

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
This commit is contained in:
Sergej Pupykin 2009-08-25 16:04:15 +04:00 committed by Loui Chang
parent 448f7ef120
commit 3fd08d5715
15 changed files with 5 additions and 60 deletions

View file

@ -147,11 +147,11 @@ Scripts:
- html/packages.php - html/packages.php
PHP script to search the package database. It should support PHP script to search the package database. It should support
searching by location ("unsupported", "community", "extra"), name, searching by name, category, maintainer, popularity, etc. It
category, maintainer, popularity, etc. It should resemble the should resemble the packages.php script on archlinux.org. A
packages.php script on archlinux.org. A checkbox should be checkbox should be included next to each package to allow
included next to each package to allow users to flag a package users to flag a package out of date, adopt it, and vote for
out of date, adopt it, and vote for it (and reverse operations). it (and reverse operations).
- html/pkgsubmit.php - html/pkgsubmit.php
This is the PHP script that allows users to upload a new package. This is the PHP script that allows users to upload a new package.

View file

@ -163,8 +163,6 @@ $_t["Packages in unsupported and flagged as safe"] = "Paquets a \"unsupported\"
$_t["Though we can't vouch for their contents, we provide a %hlist of user repositories%h for your convenience."] = "Encara que no pugam respondre als seus continguts, subministrem una %hllista de repositoris d'usuaris%h per a la vostra conveniència."; $_t["Though we can't vouch for their contents, we provide a %hlist of user repositories%h for your convenience."] = "Encara que no pugam respondre als seus continguts, subministrem una %hllista de repositoris d'usuaris%h per a la vostra conveniència.";
$_t["Packages in [community]"] = "Paquets a [community]";
$_t["Recent Updates"] = "Actualitzacions recents"; $_t["Recent Updates"] = "Actualitzacions recents";
$_t["Your account has been suspended."] = "El vostre compte s'ha suspès."; $_t["Your account has been suspended."] = "El vostre compte s'ha suspès.";

View file

@ -166,8 +166,6 @@ $_t["Packages in unsupported and flagged as safe"] = "Pakete in \"unsupported\",
$_t["Though we can't vouch for their contents, we provide a %hlist of user repositories%h for your convenience."] = "Obwohl wir für deren Inhalte nicht garantieren können, stellen wir eine %hListe der Benutzer-Repositorien%h bereit."; $_t["Though we can't vouch for their contents, we provide a %hlist of user repositories%h for your convenience."] = "Obwohl wir für deren Inhalte nicht garantieren können, stellen wir eine %hListe der Benutzer-Repositorien%h bereit.";
$_t["Packages in [community]"] = "Pakete in [community]";
$_t["Recent Updates"] = "Letzte Aktualisierungen"; $_t["Recent Updates"] = "Letzte Aktualisierungen";
$_t["Your account has been suspended."] = "Dein Konto wurde gesperrt."; $_t["Your account has been suspended."] = "Dein Konto wurde gesperrt.";

View file

@ -165,8 +165,6 @@ $_t["Packages in unsupported and flagged as safe"] = "Paquetes en [unsupported]
$_t["Though we can't vouch for their contents, we provide a %hlist of user repositories%h for your convenience."] = "Aunque no podemos responder por sus contenidos, suministramos para su comodidad una %hlista de repositorios de usuarios%h."; $_t["Though we can't vouch for their contents, we provide a %hlist of user repositories%h for your convenience."] = "Aunque no podemos responder por sus contenidos, suministramos para su comodidad una %hlista de repositorios de usuarios%h.";
$_t["Packages in [community]"] = "Paquetes en [community]";
$_t["Recent Updates"] = "Actualizaciones recientes"; $_t["Recent Updates"] = "Actualizaciones recientes";
$_t["Your account has been suspended."] = "Su cuenta ha sido suspendida."; $_t["Your account has been suspended."] = "Su cuenta ha sido suspendida.";

View file

@ -175,8 +175,6 @@ $_t["Packages in unsupported and flagged as safe"] = "Paquets dans non supporté
$_t["Though we can't vouch for their contents, we provide a %hlist of user repositories%h for your convenience."] = "Bien que nous ne puissions garantir leur contenu, nous fournissons une %hliste de dépôts d'utilisateurs%h à votre convenance."; $_t["Though we can't vouch for their contents, we provide a %hlist of user repositories%h for your convenience."] = "Bien que nous ne puissions garantir leur contenu, nous fournissons une %hliste de dépôts d'utilisateurs%h à votre convenance.";
$_t["Packages in [community]"] = "Paquets dans [community]";
$_t["Recent Updates"] = "Mises à jour récentes"; $_t["Recent Updates"] = "Mises à jour récentes";
$_t["Your account has been suspended."] = "Votre compte a été suspendu."; $_t["Your account has been suspended."] = "Votre compte a été suspendu.";

View file

@ -223,8 +223,6 @@ $_t["Packages in unsupported"] = "Pacchetti in unsupported";
$_t["Packages in unsupported and flagged as safe"] = "Pacchetti in unsupported considerati sicuri"; $_t["Packages in unsupported and flagged as safe"] = "Pacchetti in unsupported considerati sicuri";
$_t["Packages in [community]"] = "Pacchetti in [community]";
$_t["Remember to vote for your favourite packages! The most popular packages are provided as binary packages in [community]."] = "Ricorda di votare i tuoi pacchetti preferiti! I pacchetti più votati saranno disponibili in [community] come precompilati."; $_t["Remember to vote for your favourite packages! The most popular packages are provided as binary packages in [community]."] = "Ricorda di votare i tuoi pacchetti preferiti! I pacchetti più votati saranno disponibili in [community] come precompilati.";
$_t["Remember to vote for your favourite packages!"] = "Ricorda di votare i tuoi pacchetti preferiti!"; $_t["Remember to vote for your favourite packages!"] = "Ricorda di votare i tuoi pacchetti preferiti!";

View file

@ -206,8 +206,6 @@ $_t["Trusted Users"] = "Zaufanych Użytkowników";
$_t["Packages added or updated in the past 7 days"] = "Pakietów dodanych lub zmienionych w ostatnich 7 dniach"; $_t["Packages added or updated in the past 7 days"] = "Pakietów dodanych lub zmienionych w ostatnich 7 dniach";
$_t["Packages in [community]"] = "Pakietów w [community]";
$_t["Welcome to the AUR! Please read the %hAUR User Guidelines%h and %hAUR TU Guidelines%h for more information."] = "Witamy w AUR! Aby uzyskać więcej informacji, przeczytaj %hInstrukcję Użytkownika%h oraz %hInstrukcję Zaufanego Użytkownika%h."; $_t["Welcome to the AUR! Please read the %hAUR User Guidelines%h and %hAUR TU Guidelines%h for more information."] = "Witamy w AUR! Aby uzyskać więcej informacji, przeczytaj %hInstrukcję Użytkownika%h oraz %hInstrukcję Zaufanego Użytkownika%h.";
$_t["Contributed PKGBUILDs %hmust%h conform to the %hArch Packaging Standards%h otherwise they will be deleted!"] = "Pliki PKGBUILD %hmuszą%h być zgodne ze %hStandardami Pakietów Archa%h, inaczej będą usuwane!"; $_t["Contributed PKGBUILDs %hmust%h conform to the %hArch Packaging Standards%h otherwise they will be deleted!"] = "Pliki PKGBUILD %hmuszą%h być zgodne ze %hStandardami Pakietów Archa%h, inaczej będą usuwane!";

View file

@ -211,8 +211,6 @@ $_t["Packages in unsupported"] = "Pacotes no repositório unsupported";
$_t["Packages in unsupported and flagged as safe"] = "Pacotes no repositório unsupported e marcados como seguro"; $_t["Packages in unsupported and flagged as safe"] = "Pacotes no repositório unsupported e marcados como seguro";
$_t["Packages in [community]"] = "Pacotes no repositório [community]";
$_t["Remember to vote for your favourite packages! The most popular packages are provided as binary packages in [community]."] = "Lembre-se de votar nos seus pacotes favoritos! Os pacotes mais populares serão disponibilizados como pacotes binários no repositório [community]."; $_t["Remember to vote for your favourite packages! The most popular packages are provided as binary packages in [community]."] = "Lembre-se de votar nos seus pacotes favoritos! Os pacotes mais populares serão disponibilizados como pacotes binários no repositório [community].";
$_t["Remember to vote for your favourite packages!"] = "Lembre-se de votar nos seus pacotes favoritos!"; $_t["Remember to vote for your favourite packages!"] = "Lembre-se de votar nos seus pacotes favoritos!";

View file

@ -175,8 +175,6 @@ $_t["Packages in unsupported and flagged as safe"] = "Безопасных па
$_t["Though we can't vouch for their contents, we provide a %hlist of user repositories%h for your convenience."] = "Хотя мы не можем поручиться за содержимое, мы предоставляем %hсписок пользовательских репозитариев%h для удобства."; $_t["Though we can't vouch for their contents, we provide a %hlist of user repositories%h for your convenience."] = "Хотя мы не можем поручиться за содержимое, мы предоставляем %hсписок пользовательских репозитариев%h для удобства.";
$_t["Packages in [community]"] = "Пакетов в [community]";
$_t["Recent Updates"] = "Последние обновления"; $_t["Recent Updates"] = "Последние обновления";
$_t["Your account has been suspended."] = "Действие вашей учетной записи приостановлено."; $_t["Your account has been suspended."] = "Действие вашей учетной записи приостановлено.";

View file

@ -215,8 +215,6 @@ $_t["Packages in unsupported"] = "Desteklenmeyen paketler";
$_t["Packages in unsupported and flagged as safe"] = "Desteklenmeyen ve güvenli olarak olarak işaretlenen paketler"; $_t["Packages in unsupported and flagged as safe"] = "Desteklenmeyen ve güvenli olarak olarak işaretlenen paketler";
$_t["Packages in [community]"] = "[community] üzerindeki paketler";
$_t["Remember to vote for your favourite packages!"] = "Beğendiğiniz paketleri oylamayı unutmayın!"; $_t["Remember to vote for your favourite packages!"] = "Beğendiğiniz paketleri oylamayı unutmayın!";
$_t["Packages added or updated in the past 7 days"] = "Son 7 günde eklenen ya da güncellenen paketler"; $_t["Packages added or updated in the past 7 days"] = "Son 7 günde eklenen ya da güncellenen paketler";

View file

@ -471,8 +471,6 @@ $_t["Out of Date"] = "过期包";
$_t["Statistics"] = "状态"; $_t["Statistics"] = "状态";
$_t["Packages in [community]"] = "位于 [community] 的包";
$_t["Packages added or updated in the past 7 days"] = "过去7天内更新或添加的包"; $_t["Packages added or updated in the past 7 days"] = "过去7天内更新或添加的包";
$_t["Registered Users"] = "注册用户"; $_t["Registered Users"] = "注册用户";

View file

@ -67,11 +67,6 @@ function user_table($user, $dbh)
# If the user is a TU calculate the number of the packages # If the user is a TU calculate the number of the packages
$atype = account_from_sid($_COOKIE["AURSID"]); $atype = account_from_sid($_COOKIE["AURSID"]);
if (($atype == 'Trusted User') || ($atype == 'Developer')) {
$maintainer_community_count = db_cache_value(sprintf($base_q, 'community'), $dbh,
$apc_prefix . 'user_community_count:' . $escuser);
}
include('stats/user_table.php'); include('stats/user_table.php');
} }
@ -82,9 +77,6 @@ function general_stats_table($dbh)
$q = "SELECT count(*) FROM Packages,PackageLocations WHERE Packages.LocationID = PackageLocations.ID AND PackageLocations.Location = 'unsupported'"; $q = "SELECT count(*) FROM Packages,PackageLocations WHERE Packages.LocationID = PackageLocations.ID AND PackageLocations.Location = 'unsupported'";
$unsupported_count = db_cache_value($q, $dbh, $apc_prefix . 'unsupported_count'); $unsupported_count = db_cache_value($q, $dbh, $apc_prefix . 'unsupported_count');
$q = "SELECT count(*) FROM Packages,PackageLocations WHERE Packages.LocationID = PackageLocations.ID AND PackageLocations.Location = 'community'";
$community_count = db_cache_value($q, $dbh, $apc_prefix . 'community_count');
$q = "SELECT count(*) from Users"; $q = "SELECT count(*) from Users";
$user_count = db_cache_value($q, $dbh, $apc_prefix . 'user_count'); $user_count = db_cache_value($q, $dbh, $apc_prefix . 'user_count');

View file

@ -68,9 +68,6 @@ $submitted_time = ($row["SubmittedTS"] == 0) ? "(unknown)" : gmdate("r", intval(
$urlpath = URL_DIR . $row['Name'] . '/' . $row['Name']; $urlpath = URL_DIR . $row['Name'] . '/' . $row['Name'];
print "<a href='$urlpath.tar.gz'>".__("Tarball")."</a> :: <a href='$urlpath'>".__("Files")."</a> :: <a href='$urlpath/PKGBUILD'>PKGBUILD</a></span>"; print "<a href='$urlpath.tar.gz'>".__("Tarball")."</a> :: <a href='$urlpath'>".__("Files")."</a> :: <a href='$urlpath/PKGBUILD'>PKGBUILD</a></span>";
} }
elseif ($row['LocationID'] == 3) {
echo "<a href='http://repos.archlinux.org/viewvc.cgi/community/" . $row["Category"] . "/" . $row["Name"] . "/?root=community&pathrev=CURRENT'>CVS</a>";
}
if ($row["OutOfDate"] == 1) { if ($row["OutOfDate"] == 1) {
echo "<br /><span class='f6'>".__("This package has been flagged out of date.")."</span>"; echo "<br /><span class='f6'>".__("This package has been flagged out of date.")."</span>";
@ -165,9 +162,6 @@ $submitted_time = ($row["SubmittedTS"] == 0) ? "(unknown)" : gmdate("r", intval(
if ($row["LocationID"] == 2) { if ($row["LocationID"] == 2) {
echo "<a href='".dirname($row['URLPath'])."/".$row['Name']; echo "<a href='".dirname($row['URLPath'])."/".$row['Name'];
echo "/$src'>$src</a><br />\n"; echo "/$src'>$src</a><br />\n";
} elseif ($row["LocationID"] == 3) {
echo "<a href='http://repos.archlinux.org/viewvc.cgi/community/" . $row["Category"] . "/" . $row["Name"] . "/?root=community&pathrev=CURRENT'>";
echo "$src</a><br />\n";
} }
} }
} }

View file

@ -12,12 +12,6 @@
</tr> </tr>
<tr> <tr>
<td class='boxSoft'> <td class='boxSoft'>
<span class='f4'><?php print __("Packages in [community]"); ?></span>
</td>
<td class='boxSoft'><span class='f4'><?php print $community_count; ?></span></td>
</tr>
<tr>
<td class='boxSoft'>
<span class='f4'><?php print __("Packages added or updated in the past 7 days"); ?></span> <span class='f4'><?php print __("Packages added or updated in the past 7 days"); ?></span>
</td> </td>
<td class='boxSoft'><span class='f4'><?php print $update_count; ?></span></td> <td class='boxSoft'><span class='f4'><?php print $update_count; ?></span></td>

View file

@ -17,21 +17,6 @@
</td> </td>
</tr> </tr>
<?php if (($atype == 'Trusted User') || ($atype == 'Developer')) : ?>
<tr>
<td class='boxSoft'>
<span class='f4'><a href="packages.php?SeB=m&amp;L=3&amp;K=<?php echo $username; ?>">
<?php print __("Packages in [community]"); ?></a></span>
</td>
<td class='boxSoft'>
<span class='f4'>
<?php echo $maintainer_community_count; ?></span>
</td>
</tr>
<?php endif; ?>
<tr> <tr>
<td class='boxSoft'> <td class='boxSoft'>
<span class='f4'><a href="packages.php?SeB=m&amp;outdated&amp;K=<?php echo $username; ?>"> <span class='f4'><a href="packages.php?SeB=m&amp;outdated&amp;K=<?php echo $username; ?>">