[aur-dev] [PATCH/RFC] Rename the AUR software to aurweb

Lukas Fleischer archlinux at cryptocrack.de
Fri Jan 30 06:39:00 UTC 2015


Rename the project to help differentiate between the software providing
access to the Arch User Repository and the collection of source packages
itself.

Signed-off-by: Lukas Fleischer <archlinux at cryptocrack.de>
---
 AUTHORS                 |   2 +-
 INSTALL                 |   4 +-
 README                  |  26 ++++++------
 TRANSLATING             |  32 +++++++--------
 web/README              | 104 ------------------------------------------------
 web/html/css/aur.css    |  74 ----------------------------------
 web/html/css/aurweb.css |  75 ++++++++++++++++++++++++++++++++++
 web/html/home.php       |   4 +-
 web/html/index.php      |   2 +-
 web/template/footer.php |   4 +-
 web/template/header.php |   2 +-
 11 files changed, 113 insertions(+), 216 deletions(-)
 delete mode 100644 web/README
 delete mode 100644 web/html/css/aur.css
 create mode 100644 web/html/css/aurweb.css

diff --git a/AUTHORS b/AUTHORS
index 6581e81..582ccca 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -7,7 +7,7 @@ Current Maintainers
 Contributors
 ------------
 
-Use `git shortlog -s` for a list of AUR contributors.
+Use `git shortlog -s` for a list of aurweb contributors.
 
 Translations
 ------------
diff --git a/INSTALL b/INSTALL
index cbb9f44..62db77d 100644
--- a/INSTALL
+++ b/INSTALL
@@ -37,9 +37,9 @@ Setup on Arch Linux:
 
    Include conf/extra/httpd-vhosts.conf
 
-4) Clone the AUR project (using the MYUSER from above)
+4) Clone the aurweb project (using the MYUSER from above)
    $ cd
-   $ git clone git://projects.archlinux.org/aur.git
+   $ git clone git://projects.archlinux.org/aurweb.git
 
 5) Configure PHP
    Make sure you have mysql and json enabled in PHP.
diff --git a/README b/README
index 6e7c414..fb3af67 100644
--- a/README
+++ b/README
@@ -1,12 +1,12 @@
-Arch User Repository (AUR)
-==========================
+aurweb
+======
 
-The Arch User Repository (AUR) is a framework for hosting a collection of
-packaging scripts that are created and submitted by the Arch community. The
-scripts contained in the repository (PKGBUILDs) can be built using makepkg and
-installed via the Arch package manager pacman. The AUR project aims to provide
-the necessary web interface, database schema, and scripts for a multi-lingual
-community-driven repository.
+aurweb is a framework for hosting the Arch User Repository (AUR), a collection
+of packaging scripts that are created and submitted by the Arch Linux
+community. The scripts contained in the repository (PKGBUILDs) can be built
+using makepkg and installed via the Arch Linux package manager pacman. The
+aurweb project aims to provide the necessary web interface, database schema,
+and scripts for a multi-lingual community-driven repository.
 
 Functionality
 -------------
@@ -25,7 +25,7 @@ Directory Layout
 ----------------
 
 po::
-	Translation files for strings in the AUR web interface.
+	Translation files for strings in the aurweb interface.
 
 scripts::
 	aurblup package blacklist tool. Scripts for AUR maintenance.
@@ -42,9 +42,9 @@ Links
 * The official repository is hosted at git://projects.archlinux.org/aur.git --
   see HACKING for information on submitting patches.
 
-* Discovered bugs can be submitted to the AUR bug tracker:
+* Discovered bugs can be submitted to the aurweb bug tracker:
   https://bugs.archlinux.org/index.php?project=2
 
-* Questions, comments, and patches related to the AUR can be sent to the AUR
-  development mailing list: aur-dev at archlinux.org -- mailing list archives:
-  https://mailman.archlinux.org/mailman/listinfo/aur-dev
+* Questions, comments, and patches related to aurweb can be sent to the aurweb
+  development mailing list: aurweb-dev at archlinux.org -- mailing list archives:
+  https://mailman.archlinux.org/mailman/listinfo/aurweb-dev
diff --git a/TRANSLATING b/TRANSLATING
index 27855f6..e450640 100644
--- a/TRANSLATING
+++ b/TRANSLATING
@@ -1,31 +1,31 @@
-AUR Translation
-================
+aurweb Translation
+==================
 
-This document describes how to create and maintain AUR translations. It was
-originally derived from https://wiki.archlinux.org/index.php/AUR_Translation
+This document describes how to create and maintain aurweb translations. It was
+originally derived from https://wiki.archlinux.org/index.php/aurweb_Translation
 
-Creating an AUR translation requires a Transifex (http://www.transifex.com/)
-account. You will need to register with a translation team on the AUR project
-page (http://www.transifex.com/projects/p/aur/).
+Creating an aurweb translation requires a Transifex (http://www.transifex.com/)
+account. You will need to register with a translation team on the aurweb
+project page (http://www.transifex.com/projects/p/aurweb/).
 
 
 Creating a New Translation
----------------------------
+--------------------------
 
 Before beginning, please sign up for an Transifex account and request the
-addition of a new translation team for the AUR project. Also, please do not
+addition of a new translation team for the aurweb project. Also, please do not
 translate if you are unwilling to maintain or find someone to maintain the
-translation. This is due to the fact that the AUR is a rapidly evolving project
+translation. This is due to the fact that aurweb is a rapidly evolving project
 and there are constantly new strings to be translated. If the translations get
 too out of sync with the released versions, there will be too many untranslated
 strings for the translation to be usable, and it may have to be disabled.
 
-1. Check out the AUR source using git:
+1. Check out the aurweb source using git:
 
-$ git clone git://projects.archlinux.org/aur.git aur-git
+$ git clone git://projects.archlinux.org/aurweb.git aurweb-git
 
-2. Go into the "po/" directory in the AUR source and run msginit(1) to create a
-   initial translation file from our translation catalog:
+2. Go into the "po/" directory in the aurweb source and run msginit(1) to
+   create a initial translation file from our translation catalog:
 
 $ cd aur-git
 $ git checkout master
@@ -37,7 +37,7 @@ $ msginit -l <locale> -o <locale>.po -i aur.pot
 
 $ poedit <locale>.po
 
-5. If you have a working AUR setup, add a line for the new translation in
+5. If you have a working aurweb setup, add a line for the new translation in
    "web/lib/config.inc.php.proto" and test if everything looks right.
 
 6. Upload the newly created ".po" file to Transifex. If you don't like the web
@@ -45,7 +45,7 @@ $ poedit <locale>.po
 
 
 Updating an Existing Translation
----------------------------------
+--------------------------------
 
 1. Download current translation files from Transifex. You can also do this
    using transifex-client which is available through the AUR:
diff --git a/web/README b/web/README
deleted file mode 100644
index 96aade5..0000000
--- a/web/README
+++ /dev/null
@@ -1,104 +0,0 @@
-==============
-AUR Web Interface
-==============
-
-Terms and Definitions:
-================
-AUR - Arch User Repository
-	Repository made up of a collection of build scripts that are
-	created and submitted by the Arch community.
-
-TU - Trusted User
-	A user that can add binary packages to the [community]
-	repository and administer AUR.
-
-[unsupported]
-	The collection of package build files hosted via the AUR website.
-
-File Hierachy
-=========
-
-Directory Layout:
--------------------
-./html			- DocumentRoot for AUR, where the PHP scripts live.
-./html/css		- CSS for AUR appearance
-./html/css/navbar	- CSS for Arch navigation bar appearance
-./html/images		- Any AUR images live here.
-./lib			- Supporting PHP include files. Access denied to Apache.
-./locale
-./template		- Where most of the html markup resides and minimal
-			amount of PHP scripting.
-./template/stats
-
-./html Files:
--------------
-account.php -
-	PHP script to handle registering for a new account.  It prompts
-	the visitor for account information: desired username, E-mail,
-	password, real name, IRC nick, and default language. The info is
-	recorded in the Users table.
-
-	A logged-in user can change any of their own account information. If a
-	TU or Developer is logged into the system, they can search for and
-	edit accounts. A TU can change an account to a TU or User account. A
-	Developer can also change an account to the Developer type. TUs and
-	Developers are able to suspend accounts. If an account is suspended,
-	all packages are orphaned (the MaintainerUID field in the Packages
-	table is set to NULL).
-
-addvote.php -
-	A form to submit proposals relating to the AUR. Only accessible to TUs
-	and Developers. Can be used to vote on a potential new TU, or any
-	other proposal that needs a vote. Length of the vote can be specified.
-
-index.php -
-	Main page for the AUR. Provides links to all other pages in the AUR.
-	Gives a brief synopsis of what the AUR is and where to go for more
-	information.
-
-logout.php -
-	Logs out a logged-in user. Clears the session id from the Sessions
-	table and unsets the cookie.
-
-packages.php -
-	Page used to search the package database. Supports searching by name,
-	category, maintainer, popularity, etc. Also provides the ability to go
-	to a package page which has specific information for that package.
-	A specific package page includes the name, description, votes, etc.
-	As well as the ability to perform actions on the packages, such as
-	flagging or leaving a comment on the package.
-
-passreset.php -
-	A page for a user to enter their e-mail and receive a reset e-mail to
-	replace the forgotten password.
-
-pkgsubmit.php -
-	Page for users to upload a new package. Only allows upload of a
-	tarball that has been compressed with gzip. Tarball must contain the
-	PKGBUILD, scriptlets, and any other files necessary to build the
-	package from source. The user can select a category for the package.
-	The page makes appropriate entries into the database for tracking the
-	newly added source package and associated information.
-
-rpc.php -
-	A frontend for tools to obtain raw information from the AUR. Features
-	the ability to search for a package, return information on a package,
-	return information on multiple packages, and search for a specific
-	package maintainer. Functionality through HTTP GET.
-
-rss.php -
-	Generates RDF Site Summary (RSS) feed with the latest packages updated
-	in the AUR. Lists most recent 20 packages. Includes package name, link
-	to package page, package description, time of update, source listing,
-	maintainer name.
-
-tu.php -
-	Page only available to TUs and Developers. Shows ongoing votes for
-	proposals and past votes for proposals. Current votes can be voted on
-	with a "Yes" vote, "No" vote, or an "Abstain" vote. Developers and TUs
-	can only vote once. Cannot vote on a proposal about themselves.
-
-voters.php -
-	Page only available to TUs and Developers. Shows list of users that
-	voted for a specific package. Each username links to the user's
-	account information page.
diff --git a/web/html/css/aur.css b/web/html/css/aur.css
deleted file mode 100644
index 654116a..0000000
--- a/web/html/css/aur.css
+++ /dev/null
@@ -1,74 +0,0 @@
-/* AUR-specific customizations to "archweb.css". */
-#archnavbar.anb-aur ul li#anb-aur a {
-    color: white !important;
-}
-
-#lang_sub {
-  float: right;
-}
-
-.pkglist-nav .page {
-    margin: 0 .25em;
-}
-
-#pkg-updates td.pkg-new {
-  padding: 0 .5em;
-}
-
-#pkg-stats td.stat-desc {
-  white-space: normal;
-}
-
-#actionlist form {
-	margin: 0;
-	padding: 0;
-}
-
-.arch-bio-entry ul {
-	list-style: none;
-	padding: 0;
-}
-
-#pkg-updates table {
-	table-layout: fixed;
-	width:100%;
-}
-
-#pkg-updates td.pkg-name {
-	white-space: nowrap;
-	overflow: hidden;
-	text-overflow: ellipsis;
-}
-
-#pkg-updates td.pkg-new {
-	width: 16px;
-}
-
-#pkg-updates td.pkg-date {
-	text-align:right;
-}
-
-.text-button {
-	background: transparent;
-	border: none !important;
-	margin: 0 !important;
-	padding: 0 !important;
-	font: normal 100% sans-serif;
-	text-decoration: none;
-	color: #07b;
-	cursor: pointer;
-}
-
-.text-button:hover {
-	text-decoration: underline;
-	color: #666;
-}
-
-.text-button::-moz-focus-inner {
-	padding: 0;
-	border: none;
-}
-
-.comment-deleted {
-	color: #999;
-}
diff --git a/web/html/css/aurweb.css b/web/html/css/aurweb.css
new file mode 100644
index 0000000..551b3c7
--- /dev/null
+++ b/web/html/css/aurweb.css
@@ -0,0 +1,75 @@
+/* aurweb-specific customizations to archweb.css */
+
+#archnavbar.anb-aur ul li#anb-aur a {
+    color: white !important;
+}
+
+#lang_sub {
+  float: right;
+}
+
+.pkglist-nav .page {
+    margin: 0 .25em;
+}
+
+#pkg-updates td.pkg-new {
+  padding: 0 .5em;
+}
+
+#pkg-stats td.stat-desc {
+  white-space: normal;
+}
+
+#actionlist form {
+	margin: 0;
+	padding: 0;
+}
+
+.arch-bio-entry ul {
+	list-style: none;
+	padding: 0;
+}
+
+#pkg-updates table {
+	table-layout: fixed;
+	width:100%;
+}
+
+#pkg-updates td.pkg-name {
+	white-space: nowrap;
+	overflow: hidden;
+	text-overflow: ellipsis;
+}
+
+#pkg-updates td.pkg-new {
+	width: 16px;
+}
+
+#pkg-updates td.pkg-date {
+	text-align:right;
+}
+
+.text-button {
+	background: transparent;
+	border: none !important;
+	margin: 0 !important;
+	padding: 0 !important;
+	font: normal 100% sans-serif;
+	text-decoration: none;
+	color: #07b;
+	cursor: pointer;
+}
+
+.text-button:hover {
+	text-decoration: underline;
+	color: #666;
+}
+
+.text-button::-moz-focus-inner {
+	padding: 0;
+	border: none;
+}
+
+.comment-deleted {
+	color: #999;
+}
diff --git a/web/html/home.php b/web/html/home.php
index 556e21b..e075bb3 100644
--- a/web/html/home.php
+++ b/web/html/home.php
@@ -45,12 +45,12 @@ html_header( __("Home") );
 			<p>
 			<?php
 			echo __(
-				'General discussion regarding the Arch User Repository (AUR) and Trusted User structure takes place on %saur-general%s. Package orphan requests, merge requests, and deletion requests should be filed in the %sPackage Actions%s box. For discussion relating to the development of the AUR, use the %saur-dev%s mailing list.',
+				'General discussion regarding the Arch User Repository (AUR) and Trusted User structure takes place on %saur-general%s. Package orphan requests, merge requests, and deletion requests should be filed in the %sPackage Actions%s box. For discussion relating to the development of the AUR web interface, use the %saurweb-dev%s mailing list.',
 				'<a href="https://mailman.archlinux.org/mailman/listinfo/aur-general">',
 				'</a>',
 				'<var>',
 				'</var>',
-				'<a href="https://mailman.archlinux.org/mailman/listinfo/aur-dev">',
+				'<a href="https://mailman.archlinux.org/mailman/listinfo/aurweb-dev">',
 				'</a>'
 				);
 			?>
diff --git a/web/html/index.php b/web/html/index.php
index 95989f5..3e499ef 100644
--- a/web/html/index.php
+++ b/web/html/index.php
@@ -140,7 +140,7 @@ if (!empty($tokens[1]) && '/' . $tokens[1] == get_pkg_route()) {
 } else {
 	switch ($path) {
 	case "/css/archweb.css":
-	case "/css/aur.css":
+	case "/css/aurweb.css":
 	case "/css/archnavbar/archnavbar.css":
 		header("Content-Type: text/css");
 		readfile("./$path");
diff --git a/web/template/footer.php b/web/template/footer.php
index 806d3be..1b451b3 100644
--- a/web/template/footer.php
+++ b/web/template/footer.php
@@ -3,9 +3,9 @@
 
 			<div id="footer">
 				<?php if ($ver): ?>
-				<p>AUR <?= htmlspecialchars($ver) ?></p>
+				<p>aurweb <?= htmlspecialchars($ver) ?></p>
 				<?php endif; ?>
-				<p>Copyright © 2004-<?= date("Y") ?> AUR Development Team.</p>
+				<p>Copyright © 2004-<?= date("Y") ?> aurweb Development Team.</p>
 				<p><?= __('Unsupported packages are user produced content. Any use of the provided files is at your own risk.') ?></p>
 			</div>
 		</div>
diff --git a/web/template/header.php b/web/template/header.php
index 6167fb7..8fa44f1 100644
--- a/web/template/header.php
+++ b/web/template/header.php
@@ -6,7 +6,7 @@
   <head>
     <title>AUR (<?= htmlspecialchars($LANG); ?>)<?php if ($title != "") { print " - " . htmlspecialchars($title); } ?></title>
 	<link rel='stylesheet' type='text/css' href='/css/archweb.css' />
-	<link rel='stylesheet' type='text/css' href='/css/aur.css' />
+	<link rel='stylesheet' type='text/css' href='/css/aurweb.css' />
 	<link rel='shortcut icon' href='/images/favicon.ico' />
 	<link rel='alternate' type='application/rss+xml' title='Newest Packages RSS' href='<?= get_uri('/rss/'); ?>' />
 	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-- 
2.2.2


More information about the aur-dev mailing list