[haiku-depot-web] [haiku-depot-web-app] 8 new revisions pushed by haiku.li...@xxxxxxxxx on 2014-10-06 09:25 GMT

  • From: haiku-depot-web-app@xxxxxxxxxxxxxx
  • To: haiku-depot-web@xxxxxxxxxxxxx
  • Date: Mon, 06 Oct 2014 09:26:42 +0000

master moved from 91b89be77a33 to 94d10f45ab91

8 new revisions:

Revision: f4531bdfbf74
Author:   Andrew Lindesay <apl@xxxxxxxxxxxxxx>
Date:     Fri Oct  3 09:31:05 2014 UTC
Log:      view user rating; do not show actions if there are none available
https://code.google.com/p/haiku-depot-web-app/source/detail?r=f4531bdfbf74

Revision: 33885b39d1d7
Author:   Andrew Lindesay <apl@xxxxxxxxxxxxxx>
Date:     Fri Oct  3 09:40:54 2014 UTC
Log:      view pkg; show if source is available
https://code.google.com/p/haiku-depot-web-app/source/detail?r=33885b39d1d7

Revision: 003631770a08
Author:   Andrew Lindesay <apl@xxxxxxxxxxxxxx>
Date:     Fri Oct  3 10:31:27 2014 UTC
Log:      indicator to show if the deployment is non production
https://code.google.com/p/haiku-depot-web-app/source/detail?r=003631770a08

Revision: 9dd0657391c3
Author:   Andrew Lindesay <apl@xxxxxxxxxxxxxx>
Date:     Fri Oct  3 10:39:10 2014 UTC
Log: when creating an ATOM feed, it is not possible to include the same pac...
https://code.google.com/p/haiku-depot-web-app/source/detail?r=9dd0657391c3

Revision: 522f128a9912
Author:   Andrew Lindesay <apl@xxxxxxxxxxxxxx>
Date:     Sun Oct  5 08:13:24 2014 UTC
Log:      x86_64 support for hpkr file format parsing (enum)
https://code.google.com/p/haiku-depot-web-app/source/detail?r=522f128a9912

Revision: 21e069a06d1f
Author:   Andrew Lindesay <apl@xxxxxxxxxxxxxx>
Date:     Mon Oct  6 09:22:18 2014 UTC
Log:      german localizations
https://code.google.com/p/haiku-depot-web-app/source/detail?r=21e069a06d1f

Revision: e01e113bd596
Author:   Andrew Lindesay <apl@xxxxxxxxxxxxxx>
Date:     Mon Oct  6 09:23:36 2014 UTC
Log:      version 1.0.9
https://code.google.com/p/haiku-depot-web-app/source/detail?r=e01e113bd596

Revision: 94d10f45ab91
Author:   Andrew Lindesay <apl@xxxxxxxxxxxxxx>
Date:     Mon Oct  6 09:25:18 2014 UTC
Log:      version 1.0.10-SNAPSHOT...
https://code.google.com/p/haiku-depot-web-app/source/detail?r=94d10f45ab91

==============================================================================
Revision: f4531bdfbf74
Author:   Andrew Lindesay <apl@xxxxxxxxxxxxxx>
Date:     Fri Oct  3 09:31:05 2014 UTC
Log:      view user rating; do not show actions if there are none available

https://code.google.com/p/haiku-depot-web-app/source/detail?r=f4531bdfbf74

Modified:
/haikudepotserver-webapp/src/main/webapp/js/app/controller/viewuserrating.html /haikudepotserver-webapp/src/main/webapp/js/app/controller/viewuserratingcontroller.js

=======================================
--- /haikudepotserver-webapp/src/main/webapp/js/app/controller/viewuserrating.html Mon Jun 23 10:01:05 2014 UTC +++ /haikudepotserver-webapp/src/main/webapp/js/app/controller/viewuserrating.html Fri Oct 3 09:31:05 2014 UTC
@@ -23,20 +23,20 @@
<dd ng-show="userRating.userRatingStabilityCode"><message key="{{'userRatingStability.' + userRating.userRatingStabilityCode + '.title'}}"></message></rating-indicator></dd>
     </dl>

-    <h2><message key="gen.actions.title"></message></h2>
+    <h2 ng-show="canEdit"><message key="gen.actions.title"></message></h2>

     <ul>
- <li ng-show="canDeactivate()" user-rating="userRating" show-if-user-rating-permission="'USERRATING_EDIT'">
+        <li ng-show="canDeactivate() && canEdit">
             <a href="" ng-click="goDeactivate()">
<message key="viewUserRating.deactiveAction.title"></message>
             </a>
         </li>
- <li ng-show="canReactivate()" user-rating="userRating" show-if-user-rating-permission="'USERRATING_EDIT'">
+        <li ng-show="canReactivate() && canEdit">
             <a href="" ng-click="goReactivate()">
<message key="viewUserRating.reactiveAction.title"></message>
             </a>
         </li>
- <li ng-show="userRating.active" user-rating="userRating" show-if-user-rating-permission="'USERRATING_EDIT'">
+        <li ng-show="userRating.active && canEdit">
             <a href="" ng-click="goEdit()">
                 <message key="viewUserRating.editAction.title"></message>
             </a>
=======================================
--- /haikudepotserver-webapp/src/main/webapp/js/app/controller/viewuserratingcontroller.js Tue Jul 8 11:11:57 2014 UTC +++ /haikudepotserver-webapp/src/main/webapp/js/app/controller/viewuserratingcontroller.js Fri Oct 3 09:31:05 2014 UTC
@@ -8,14 +8,16 @@
     [
         '$scope','$log','$location','$routeParams',
         'jsonRpc','constants','errorHandling','breadcrumbs',
-        'breadcrumbFactory',
+        'breadcrumbFactory','userState',
         function(
             $scope,$log,$location,$routeParams,
- jsonRpc,constants,errorHandling,breadcrumbs,breadcrumbFactory) {
+            jsonRpc,constants,errorHandling,breadcrumbs,
+            breadcrumbFactory,userState) {

             var amUpdating = false;
             $scope.breadcrumbItems = undefined;
             $scope.userRating = undefined;
+            $scope.canEdit = undefined;

             $scope.shouldSpin = function() {
                 return undefined == $scope.userRating || amUpdating;
@@ -33,6 +35,31 @@
breadcrumbFactory.applyCurrentLocation(breadcrumbFactory.createViewUserRating($scope.userRating))
                 ]);
             }
+
+            /**
+ * <P>This function will recheck to see if the user is able to edit the user rating or + * not. It stores this in the scope and then elements can show/hide depending on the
+             * state of the flag.</P>
+             */
+
+            function refreshAuthorization() {
+                $scope.canEdit = undefined;
+
+                userState.areAuthorized([
+                    {
+                        targetType: 'USERRATING',
+                        targetIdentifier: $scope.userRating.code,
+                        permissionCode: 'USERRATING_EDIT'
+                    }
+                ]).then(
+                    function(flag) {
+                        $scope.canEdit = flag;
+                    },
+                    function() {
+ throw Error('unable to establish if the user is able to edit the user rating');
+                    }
+                );
+            }

             function refreshUserRating() {
                 jsonRpc.call(
@@ -43,6 +70,7 @@
                     function(userRatingData) {
                         $scope.userRating = userRatingData;
                         refreshBreadcrumbItems();
+                        refreshAuthorization();
$log.info('fetched user rating; '+userRatingData.code);
                     },
                     function(err) {

==============================================================================
Revision: 33885b39d1d7
Author:   Andrew Lindesay <apl@xxxxxxxxxxxxxx>
Date:     Fri Oct  3 09:40:54 2014 UTC
Log:      view pkg; show if source is available

https://code.google.com/p/haiku-depot-web-app/source/detail?r=33885b39d1d7

Modified:
 /haikudepotserver-webapp/src/main/webapp/js/app/controller/viewpkg.html
/haikudepotserver-webapp/src/main/webapp/js/app/controller/viewpkgcontroller.js

=======================================
--- /haikudepotserver-webapp/src/main/webapp/js/app/controller/viewpkg.html Mon Sep 15 10:09:53 2014 UTC +++ /haikudepotserver-webapp/src/main/webapp/js/app/controller/viewpkg.html Fri Oct 3 09:40:54 2014 UTC
@@ -62,8 +62,8 @@
     <div id="pkg-metadata-container">

         <dl>
- <dt ng-show="undefined!=viewPkg.sourceAvailable"><message key="viewPkg.sourceAvailable.title"></message></dt>
-            <dd ng-show="undefined!=viewPkg.sourceAvailable">
+ <dt ng-show="undefined!=pkg.versions[0].sourcePkg"><message key="viewPkg.sourceAvailable.title"></message></dt>
+            <dd ng-show="undefined!=pkg.versions[0].sourcePkg">
<boolean-indicator state="!!pkg.versions[0].sourcePkg"></boolean-indicator>
             </dd>
             <dt><message key="viewPkg.categories.title"></message></dt>
=======================================
--- /haikudepotserver-webapp/src/main/webapp/js/app/controller/viewpkgcontroller.js Mon Sep 15 10:09:53 2014 UTC +++ /haikudepotserver-webapp/src/main/webapp/js/app/controller/viewpkgcontroller.js Fri Oct 3 09:40:54 2014 UTC
@@ -145,67 +145,61 @@

             function refetchIsSourcePkgAvailable() {

-// [apl 15.sep.2014]
-// disabling this for now because it creates exception logs on the server-side if -// there is no source package (often). Maybe this can be dealt with later on, but
-// I don't want to delay release because of this.
+                if(!$scope.pkg) {
+ throw Error('there is not pkg available from which it would be possible to ascertain if a source pkg exists.');
+                }

+                var pv = $scope.pkg.versions[0];

-//                if(!$scope.pkg) {
-// throw Error('there is not pkg available from which it would be possible to ascertain if a source pkg exists.');
-//                }
-//
-//                var pv = $scope.pkg.versions[0];
-//
-//                jsonRpc.call(
-//                    constants.ENDPOINT_API_V1_PKG,
-//                    'getPkg',
-//                    [{
-//                        name : $scope.pkg.name + "_source",
-//                        versionType : 'SPECIFIC',
-//                        incrementViewCounter : false,
-//                        architectureCode : 'source',
-// naturalLanguageCode: constants.NATURALLANGUAGECODE_ENGLISH,
-//                        major: pv.major,
-//                        minor : pv.minor,
-//                        micro : pv.micro,
-//                        preRelease : pv.preRelease,
-//                        revision : pv.revision
-//                    }]
-//                ).then(
-//                    function(result) {
-//                        $log.info('source exists for pkg');
-//                        pv.sourcePkg = result;
-//                    },
-//                    function(err) {
-//
-//                        switch(err.code) {
-//
-//                            case jsonRpc.errorCodes.OBJECTNOTFOUND:
-//
-//                                switch(err.data.entityName) {
-//
-//                                    case 'Pkg':
-//                                    case 'PkgVersion':
-// $log.info('there is no source package found');
-//                                        pv.sourcePkg = null;
-//                                        break;
-//
-//                                    default:
-// $log.error('unable to ascertain if source is available for the package'); -// errorHandling.handleJsonRpcError(err);
-//                                        break;
-//                                }
-//                                break;
-//
-//                            default:
-// $log.error('unable to ascertain if source is available for the package');
-//                                errorHandling.handleJsonRpcError(err);
-//                                break;
-//
-//                        }
-//                    }
-//                );
+                jsonRpc.call(
+                    constants.ENDPOINT_API_V1_PKG,
+                    'getPkg',
+                    [{
+                        name : $scope.pkg.name + "_source",
+                        versionType : 'SPECIFIC',
+                        incrementViewCounter : false,
+                        architectureCode : 'source',
+ naturalLanguageCode: constants.NATURALLANGUAGECODE_ENGLISH,
+                        major: pv.major,
+                        minor : pv.minor,
+                        micro : pv.micro,
+                        preRelease : pv.preRelease,
+                        revision : pv.revision
+                    }]
+                ).then(
+                    function(result) {
+                        $log.info('source exists for pkg');
+                        pv.sourcePkg = result;
+                    },
+                    function(err) {
+
+                        switch(err.code) {
+
+                            case jsonRpc.errorCodes.OBJECTNOTFOUND:
+
+                                switch(err.data.entityName) {
+
+                                    case 'Pkg':
+                                    case 'PkgVersion':
+ $log.info('there is no source package found');
+                                        pv.sourcePkg = null;
+                                        break;
+
+                                    default:
+ $log.error('unable to ascertain if source is available for the package'); + errorHandling.handleJsonRpcError(err);
+                                        break;
+                                }
+                                break;
+
+                            default:
+ $log.error('unable to ascertain if source is available for the package');
+                                errorHandling.handleJsonRpcError(err);
+                                break;
+
+                        }
+                    }
+                );

             }


==============================================================================
Revision: 003631770a08
Author:   Andrew Lindesay <apl@xxxxxxxxxxxxxx>
Date:     Fri Oct  3 10:31:27 2014 UTC
Log:      indicator to show if the deployment is non production

https://code.google.com/p/haiku-depot-web-app/source/detail?r=003631770a08

Modified:
/haikudepotserver-api1/src/main/java/org/haikuos/haikudepotserver/api1/model/miscellaneous/GetRuntimeInformationResult.java
 /haikudepotserver-docs/src/main/latex/docs/part-config.tex
 /haikudepotserver-rpm-common/src/main/resources/config__config.properties
/haikudepotserver-webapp/src/main/java/org/haikuos/haikudepotserver/api1/MiscellaneousApiImpl.java
 /haikudepotserver-webapp/src/main/resources/messages.properties
 /haikudepotserver-webapp/src/main/webapp/css/singlepage/banner.css
 /haikudepotserver-webapp/src/main/webapp/js/app/directive/banner.html
/haikudepotserver-webapp/src/main/webapp/js/app/directive/bannerdirective.js

=======================================
--- /haikudepotserver-api1/src/main/java/org/haikuos/haikudepotserver/api1/model/miscellaneous/GetRuntimeInformationResult.java Wed Apr 9 11:01:12 2014 UTC +++ /haikudepotserver-api1/src/main/java/org/haikuos/haikudepotserver/api1/model/miscellaneous/GetRuntimeInformationResult.java Fri Oct 3 10:31:27 2014 UTC
@@ -15,4 +15,6 @@

     public Integer getBulkPkgRequestLimit;

+    public Boolean isProduction;
+
 }
=======================================
--- /haikudepotserver-docs/src/main/latex/docs/part-config.tex Mon Sep 15 10:09:53 2014 UTC +++ /haikudepotserver-docs/src/main/latex/docs/part-config.tex Fri Oct 3 10:31:27 2014 UTC
@@ -19,10 +19,14 @@
 There are a number of keys which are described below.

 \subsection{General}
+
+\subsubsection{\tt deployment.isproduction}
+
+This configuration setting can have a value of ``true'' or ``false''. When false, the system will display a warning message on the user interface to indicate that the deployment is non-production.

\subsubsection{\tt pkgversion.viewcounter.protectrecurringincrementfromsameclient}

-This value can have a value of ``true'' or ``false''. When true (the default), the system will make basic efforts to protect against one client repeatedly incrementing a package version's view counter. This might happen when a user navigates to view a package and then navigates away and back again. With this value set as true, within a window of time, these two visits would be considered to be the same in terms of incrementing the view counter. +This configuration setting can have a value of ``true'' or ``false''. When true (the default), the system will make basic efforts to protect against one client repeatedly incrementing a package version's view counter. This might happen when a user navigates to view a package and then navigates away and back again. With this value set as true, within a window of time, these two visits would be considered to be the same in terms of incrementing the view counter.

 \subsection{Package Rating Derivation}

=======================================
--- /haikudepotserver-rpm-common/src/main/resources/config__config.properties Fri Sep 26 09:53:20 2014 UTC +++ /haikudepotserver-rpm-common/src/main/resources/config__config.properties Fri Oct 3 10:31:27 2014 UTC
@@ -7,6 +7,8 @@

 pkgversion.viewcounter.protectrecurringincrementfromsameclient=true

+deployment.isproduction=false
+
 # -------------------------------------------
 # database connection

=======================================
--- /haikudepotserver-webapp/src/main/java/org/haikuos/haikudepotserver/api1/MiscellaneousApiImpl.java Sun Aug 31 10:18:17 2014 UTC +++ /haikudepotserver-webapp/src/main/java/org/haikuos/haikudepotserver/api1/MiscellaneousApiImpl.java Fri Oct 3 10:31:27 2014 UTC
@@ -20,6 +20,7 @@
 import org.haikuos.haikudepotserver.support.RuntimeInformationService;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
+import org.springframework.beans.factory.annotation.Value;
 import org.springframework.context.MessageSource;
 import org.springframework.stereotype.Component;

@@ -51,6 +52,9 @@
     @Resource
     MessageSource messageSource;

+    @Value("${deployment.isproduction:false}")
+    Boolean isProduction;
+
     @Override
public GetAllPkgCategoriesResult getAllPkgCategories(GetAllPkgCategoriesRequest getAllPkgCategoriesRequest) {
         Preconditions.checkNotNull(getAllPkgCategoriesRequest);
@@ -147,6 +151,7 @@
GetRuntimeInformationResult result = new GetRuntimeInformationResult(); result.projectVersion = runtimeInformationService.getProjectVersion();
         result.getBulkPkgRequestLimit = PkgApi.GETBULKPKG_LIMIT;
+        result.isProduction = isProduction;

if(authUserOptional.isPresent() && authUserOptional.get().getIsRoot()) { result.javaVersion = runtimeInformationService.getJavaVersion();
=======================================
--- /haikudepotserver-webapp/src/main/resources/messages.properties Mon Sep 22 19:13:25 2014 UTC +++ /haikudepotserver-webapp/src/main/resources/messages.properties Fri Oct 3 10:31:27 2014 UTC
@@ -327,6 +327,7 @@
 banner.action.authorizationPkgRules=Package authorization
 banner.action.pkgFeedBuilder=Build Feed URL
 banner.action.rootOperations=Root Operations
+banner.warning.nonProductionDeploy=Non-Production Deployment!

 naturalLanguage.en=English
 naturalLanguage.de=Deutsch
=======================================
--- /haikudepotserver-webapp/src/main/webapp/css/singlepage/banner.css Sat Aug 30 10:29:45 2014 UTC +++ /haikudepotserver-webapp/src/main/webapp/css/singlepage/banner.css Fri Oct 3 10:31:27 2014 UTC
@@ -65,3 +65,24 @@
     padding-right: 2px;
     vertical-align: middle;
 }
+
+#banner-warning-non-production {
+   width: 200px;
+    height: 16px;
+    text-transform: capitalize;
+    font-size: 9pt;
+    text-align: center;
+    padding-top: 4px;
+    color: red;
+    background-color: white;
+    border-left: 1px red solid;
+    border-right: 1px red solid;
+    border-bottom: 1px red solid;
+    border-bottom-left-radius: 4px;
+    border-bottom-right-radius: 4px;
+    position: absolute;
+    top: 0;
+    left: -100px;
+    margin-left: 50%;
+    box-shadow: 2px 2px 4px black;
+}
=======================================
--- /haikudepotserver-webapp/src/main/webapp/js/app/directive/banner.html Tue Aug 19 11:01:57 2014 UTC +++ /haikudepotserver-webapp/src/main/webapp/js/app/directive/banner.html Fri Oct 3 10:31:27 2014 UTC
@@ -36,6 +36,14 @@
         </button>

     </span>
+
+        <div
+                id="banner-warning-non-production"
+                ng-show="showWarnNonProduction"
+                ng-click="goHideWarnNonProduction()">
+            <message key="banner.warning.nonProductionDeploy"></message>
+        </div>
+
     </div>

     <!--
=======================================
--- /haikudepotserver-webapp/src/main/webapp/js/app/directive/bannerdirective.js Tue Aug 19 11:01:57 2014 UTC +++ /haikudepotserver-webapp/src/main/webapp/js/app/directive/bannerdirective.js Fri Oct 3 10:31:27 2014 UTC
@@ -26,6 +26,7 @@
                     errorHandling,breadcrumbFactory,jsonRpc,constants) {

                     $scope.showActions = false;
+                    $scope.showWarnNonProduction = undefined;
                     $scope.userNickname = undefined;
                     $scope.naturalLanguageData = {
naturalLanguageCode : userState.naturalLanguageCode(),
@@ -33,6 +34,23 @@
                         selectedNaturalLanguageOption : undefined
                     };

+                    function refreshShowWarnNonProduction() {
+                        jsonRpc.call(
+                            constants.ENDPOINT_API_V1_MISCELLANEOUS,
+                            "getRuntimeInformation",
+                            [{}]
+                        ).then(
+                            function(result) {
+ $scope.showWarnNonProduction = !result.isProduction;
+                            },
+                            function(err) {
+                                errorHandling.handleJsonRpcError(err);
+                            }
+                        );
+                    }
+
+                    refreshShowWarnNonProduction();
+
                     function isLocationPathDisablingUserState() {

                         var p = $location.path();
@@ -56,6 +74,10 @@
                     // -----------------
                     // GENERAL

+                    $scope.goHideWarnNonProduction = function() {
+                        $scope.showWarnNonProduction = false;
+                    };
+
                     // This will take the user back to the home page.

                     $scope.goHome = function() {
@@ -201,7 +223,7 @@
                         ]);

                         $scope.showActions = false;
-                    }
+                    };

                     // -----------------
                     // REPOSITORY

==============================================================================
Revision: 9dd0657391c3
Author:   Andrew Lindesay <apl@xxxxxxxxxxxxxx>
Date:     Fri Oct  3 10:39:10 2014 UTC
Log: when creating an ATOM feed, it is not possible to include the same package more than once.

https://code.google.com/p/haiku-depot-web-app/source/detail?r=9dd0657391c3

Modified:
 /haikudepotserver-webapp/src/main/resources/messages.properties
/haikudepotserver-webapp/src/main/webapp/js/app/controller/pkgfeedbuildercontroller.js

=======================================
--- /haikudepotserver-webapp/src/main/resources/messages.properties Fri Oct 3 10:31:27 2014 UTC +++ /haikudepotserver-webapp/src/main/resources/messages.properties Fri Oct 3 10:39:10 2014 UTC
@@ -378,6 +378,7 @@
 pkgFeedBuilder.pkgChooserName.placeholder=Name
 pkgFeedBuilder.pkgChooserName.pattern=The package name is malformed.
pkgFeedBuilder.pkgChooserName.notfound=There is no package with the supplied name.
+pkgFeedBuilder.pkgChooserName.included=The package is already included.
 pkgFeedBuilder.supplierTypes.title=Inputs
 pkgFeedBuilder.action.title=Build Feed URL
 pkgFeedBuilder.editAction.title=Edit feed URL settings
=======================================
--- /haikudepotserver-webapp/src/main/webapp/js/app/controller/pkgfeedbuildercontroller.js Thu Aug 14 11:03:33 2014 UTC +++ /haikudepotserver-webapp/src/main/webapp/js/app/controller/pkgfeedbuildercontroller.js Fri Oct 3 10:39:10 2014 UTC
@@ -187,40 +187,54 @@

             $scope.$watch('pkgChooserName', function() {
$scope.feedForm.pkgChooserName.$setValidity('notfound',true); + $scope.feedForm.pkgChooserName.$setValidity('included',true);
             })

             $scope.goAddPkg = function() {

-                jsonRpc.call(
-                    constants.ENDPOINT_API_V1_PKG,
-                    'getPkg',
-                    [{
- naturalLanguageCode : userState.naturalLanguageCode(),
-                        name : $scope.pkgChooserName,
-                        versionType : 'NONE'
-                    }]
-                ).then(
-                    function(pkg) {
-                        $scope.pkgChooserName = '';
-                        $scope.feedSettings.pkgs.push(pkg);
-                    },
-                    function(err) {
+ // if the package is already in the list then the situation should be
+                // avoided where the same package is added twice.

-                        switch(err.code) {
+                if(_.findWhere(
+                    $scope.feedSettings.pkgs,
+                    { name : $scope.pkgChooserName })) {
+ $scope.feedForm.pkgChooserName.$setValidity('included',false);
+                }
+                else {

-                            case jsonRpc.errorCodes.OBJECTNOTFOUND:
- $scope.feedForm.pkgChooserName.$setValidity('notfound',false);
-                                break;
+                    jsonRpc.call(
+                        constants.ENDPOINT_API_V1_PKG,
+                        'getPkg',
+                        [
+                            {
+ naturalLanguageCode: userState.naturalLanguageCode(),
+                                name: $scope.pkgChooserName,
+                                versionType: 'NONE'
+                            }
+                        ]
+                    ).then(
+                        function (pkg) {
+                            $scope.pkgChooserName = '';
+                            $scope.feedSettings.pkgs.push(pkg);
+                        },
+                        function (err) {
+
+                            switch (err.code) {
+
+                                case jsonRpc.errorCodes.OBJECTNOTFOUND:
+ $scope.feedForm.pkgChooserName.$setValidity('notfound', false);
+                                    break;
+
+                                default:
+ $log.error('unable to get the pkg for name; ' + $scope.pkgChooserName);
+                                    errorHandling.handleJsonRpcError(err);
+                                    break;

-                            default:
- $log.error('unable to get the pkg for name; ' + $scope.pkgChooserName);
-                                errorHandling.handleJsonRpcError(err);
-                                break;
+                            }

                         }
-
-                    }
-                );
+                    );
+                }

             }


==============================================================================
Revision: 522f128a9912
Author:   Andrew Lindesay <apl@xxxxxxxxxxxxxx>
Date:     Sun Oct  5 08:13:24 2014 UTC
Log:      x86_64 support for hpkr file format parsing (enum)

https://code.google.com/p/haiku-depot-web-app/source/detail?r=522f128a9912

Modified:
/haikudepotserver-packagefile/src/main/java/org/haikuos/pkg/model/PkgArchitecture.java

=======================================
--- /haikudepotserver-packagefile/src/main/java/org/haikuos/pkg/model/PkgArchitecture.java Fri Nov 15 08:51:45 2013 UTC +++ /haikudepotserver-packagefile/src/main/java/org/haikuos/pkg/model/PkgArchitecture.java Sun Oct 5 08:13:24 2014 UTC
@@ -1,13 +1,19 @@
 /*
- * Copyright 2013, Andrew Lindesay
+ * Copyright 2013-2014, Andrew Lindesay
  * Distributed under the terms of the MIT License.
  */

 package org.haikuos.pkg.model;

+/**
+ * <p>In the HPKR file format, the architecture is a numerical value. These numerical
+ * values correlate to this enum.</p>
+ */
+
 public enum PkgArchitecture {
-    ANY,
-    X86,
-    X86_GCC2,
-    SOURCE
+    ANY,        // 0
+    X86,        // 1
+    X86_GCC2,   // 2
+    SOURCE,     // 3
+    X86_64      // 4
 };

==============================================================================
Revision: 21e069a06d1f
Author:   Andrew Lindesay <apl@xxxxxxxxxxxxxx>
Date:     Mon Oct  6 09:22:18 2014 UTC
Log:      german localizations

https://code.google.com/p/haiku-depot-web-app/source/detail?r=21e069a06d1f

Modified:
 /haikudepotserver-webapp/src/main/resources/messages_de.properties

=======================================
--- /haikudepotserver-webapp/src/main/resources/messages_de.properties Fri Sep 12 08:53:03 2014 UTC +++ /haikudepotserver-webapp/src/main/resources/messages_de.properties Mon Oct 6 09:22:18 2014 UTC
@@ -318,6 +318,7 @@
 banner.action.authorizationPkgRules=Paket-Autorisierung
 banner.action.pkgFeedBuilder=Feed-URL erzeugen
 banner.action.rootOperations=Root Operations
+banner.warning.nonProductionDeploy=Test-Umgebung!

 permission.pkg_editicon.title=Paket-Icon bearbeiten
 permission.pkg_editscreenshot.title=Paket-Screenshots bearbeiten
@@ -367,6 +368,7 @@
 pkgFeedBuilder.pkgs.title=Pakete
 pkgFeedBuilder.pkgs.all=Alle Pakete
 pkgFeedBuilder.pkgs.addAction.title=Hinzuf├╝gen
+pkgFeedBuilder.pkgChooserName.included=Dieses Paket ist bereits enthalten.
 pkgFeedBuilder.pkgChooserName.placeholder=Name
pkgFeedBuilder.pkgChooserName.pattern=Der Paketname ist nicht richtig formatiert. pkgFeedBuilder.pkgChooserName.notfound=Es existiert kein Paket mit dem angegebenen Namen.

==============================================================================
Revision: e01e113bd596
Author:   Andrew Lindesay <apl@xxxxxxxxxxxxxx>
Date:     Mon Oct  6 09:23:36 2014 UTC
Log:      version 1.0.9

https://code.google.com/p/haiku-depot-web-app/source/detail?r=e01e113bd596

Modified:
 /haikudepotserver-api1/pom.xml
 /haikudepotserver-docs/pom.xml
 /haikudepotserver-packagefile/pom.xml
 /haikudepotserver-parent/pom.xml
 /haikudepotserver-rpm-common/pom.xml
 /haikudepotserver-rpm-parent/pom.xml
 /haikudepotserver-rpm-production/pom.xml
 /haikudepotserver-rpm-test/pom.xml
 /haikudepotserver-webapp/pom.xml
 /pom.xml

=======================================
--- /haikudepotserver-api1/pom.xml      Thu Oct  2 10:25:00 2014 UTC
+++ /haikudepotserver-api1/pom.xml      Mon Oct  6 09:23:36 2014 UTC
@@ -5,7 +5,7 @@
         <artifactId>haikudepotserver-parent</artifactId>
         <groupId>org.haikuos</groupId>
         <relativePath>../haikudepotserver-parent</relativePath>
-        <version>1.0.9-SNAPSHOT</version>
+        <version>1.0.9</version>
     </parent>

     <modelVersion>4.0.0</modelVersion>
=======================================
--- /haikudepotserver-docs/pom.xml      Thu Oct  2 10:25:00 2014 UTC
+++ /haikudepotserver-docs/pom.xml      Mon Oct  6 09:23:36 2014 UTC
@@ -5,7 +5,7 @@
         <artifactId>haikudepotserver-parent</artifactId>
         <groupId>org.haikuos</groupId>
         <relativePath>../haikudepotserver-parent</relativePath>
-        <version>1.0.9-SNAPSHOT</version>
+        <version>1.0.9</version>
     </parent>

     <modelVersion>4.0.0</modelVersion>
=======================================
--- /haikudepotserver-packagefile/pom.xml       Thu Oct  2 10:25:00 2014 UTC
+++ /haikudepotserver-packagefile/pom.xml       Mon Oct  6 09:23:36 2014 UTC
@@ -5,7 +5,7 @@
         <artifactId>haikudepotserver-parent</artifactId>
         <groupId>org.haikuos</groupId>
         <relativePath>../haikudepotserver-parent</relativePath>
-        <version>1.0.9-SNAPSHOT</version>
+        <version>1.0.9</version>
     </parent>

     <modelVersion>4.0.0</modelVersion>
=======================================
--- /haikudepotserver-parent/pom.xml    Thu Oct  2 10:25:00 2014 UTC
+++ /haikudepotserver-parent/pom.xml    Mon Oct  6 09:23:36 2014 UTC
@@ -5,7 +5,7 @@
     <groupId>org.haikuos</groupId>
     <artifactId>haikudepotserver-parent</artifactId>
     <packaging>pom</packaging>
-    <version>1.0.9-SNAPSHOT</version>
+    <version>1.0.9</version>

     <licenses>
         <license>
=======================================
--- /haikudepotserver-rpm-common/pom.xml        Thu Oct  2 10:25:00 2014 UTC
+++ /haikudepotserver-rpm-common/pom.xml        Mon Oct  6 09:23:36 2014 UTC
@@ -5,7 +5,7 @@
         <artifactId>haikudepotserver-parent</artifactId>
         <groupId>org.haikuos</groupId>
         <relativePath>../haikudepotserver-parent</relativePath>
-        <version>1.0.9-SNAPSHOT</version>
+        <version>1.0.9</version>
     </parent>

     <modelVersion>4.0.0</modelVersion>
=======================================
--- /haikudepotserver-rpm-parent/pom.xml        Thu Oct  2 10:25:00 2014 UTC
+++ /haikudepotserver-rpm-parent/pom.xml        Mon Oct  6 09:23:36 2014 UTC
@@ -5,7 +5,7 @@
         <artifactId>haikudepotserver-parent</artifactId>
         <groupId>org.haikuos</groupId>
         <relativePath>../haikudepotserver-parent</relativePath>
-        <version>1.0.9-SNAPSHOT</version>
+        <version>1.0.9</version>
     </parent>

     <modelVersion>4.0.0</modelVersion>
=======================================
--- /haikudepotserver-rpm-production/pom.xml    Thu Oct  2 10:25:00 2014 UTC
+++ /haikudepotserver-rpm-production/pom.xml    Mon Oct  6 09:23:36 2014 UTC
@@ -5,7 +5,7 @@
         <artifactId>haikudepotserver-rpm-parent</artifactId>
         <groupId>org.haikuos</groupId>
         <relativePath>../haikudepotserver-rpm-parent</relativePath>
-        <version>1.0.9-SNAPSHOT</version>
+        <version>1.0.9</version>
     </parent>

     <modelVersion>4.0.0</modelVersion>
=======================================
--- /haikudepotserver-rpm-test/pom.xml  Thu Oct  2 10:25:00 2014 UTC
+++ /haikudepotserver-rpm-test/pom.xml  Mon Oct  6 09:23:36 2014 UTC
@@ -5,7 +5,7 @@
         <artifactId>haikudepotserver-rpm-parent</artifactId>
         <groupId>org.haikuos</groupId>
         <relativePath>../haikudepotserver-rpm-parent</relativePath>
-        <version>1.0.9-SNAPSHOT</version>
+        <version>1.0.9</version>
     </parent>

     <modelVersion>4.0.0</modelVersion>
=======================================
--- /haikudepotserver-webapp/pom.xml    Thu Oct  2 10:25:00 2014 UTC
+++ /haikudepotserver-webapp/pom.xml    Mon Oct  6 09:23:36 2014 UTC
@@ -5,7 +5,7 @@
         <artifactId>haikudepotserver-parent</artifactId>
         <groupId>org.haikuos</groupId>
         <relativePath>../haikudepotserver-parent</relativePath>
-        <version>1.0.9-SNAPSHOT</version>
+        <version>1.0.9</version>
     </parent>

     <modelVersion>4.0.0</modelVersion>
=======================================
--- /pom.xml    Thu Oct  2 10:25:00 2014 UTC
+++ /pom.xml    Mon Oct  6 09:23:36 2014 UTC
@@ -5,7 +5,7 @@
     <groupId>org.haikuos</groupId>
     <artifactId>haikudepotserver</artifactId>
     <packaging>pom</packaging>
-    <version>1.0.9-SNAPSHOT</version>
+    <version>1.0.9</version>

     <modules>
         <module>haikudepotserver-api1</module>

==============================================================================
Revision: 94d10f45ab91
Author:   Andrew Lindesay <apl@xxxxxxxxxxxxxx>
Date:     Mon Oct  6 09:25:18 2014 UTC
Log:      version 1.0.10-SNAPSHOT

version 1.0.10-SNAPSHOT

https://code.google.com/p/haiku-depot-web-app/source/detail?r=94d10f45ab91

Modified:
 /haikudepotserver-api1/pom.xml
 /haikudepotserver-docs/pom.xml
 /haikudepotserver-packagefile/pom.xml
 /haikudepotserver-parent/pom.xml
 /haikudepotserver-rpm-common/pom.xml
 /haikudepotserver-rpm-parent/pom.xml
 /haikudepotserver-rpm-production/pom.xml
 /haikudepotserver-rpm-test/pom.xml
 /haikudepotserver-webapp/pom.xml
 /pom.xml

=======================================
--- /haikudepotserver-api1/pom.xml      Mon Oct  6 09:23:36 2014 UTC
+++ /haikudepotserver-api1/pom.xml      Mon Oct  6 09:25:18 2014 UTC
@@ -5,7 +5,7 @@
         <artifactId>haikudepotserver-parent</artifactId>
         <groupId>org.haikuos</groupId>
         <relativePath>../haikudepotserver-parent</relativePath>
-        <version>1.0.9</version>
+        <version>1.0.10-SNAPSHOT</version>
     </parent>

     <modelVersion>4.0.0</modelVersion>
=======================================
--- /haikudepotserver-docs/pom.xml      Mon Oct  6 09:23:36 2014 UTC
+++ /haikudepotserver-docs/pom.xml      Mon Oct  6 09:25:18 2014 UTC
@@ -5,7 +5,7 @@
         <artifactId>haikudepotserver-parent</artifactId>
         <groupId>org.haikuos</groupId>
         <relativePath>../haikudepotserver-parent</relativePath>
-        <version>1.0.9</version>
+        <version>1.0.10-SNAPSHOT</version>
     </parent>

     <modelVersion>4.0.0</modelVersion>
=======================================
--- /haikudepotserver-packagefile/pom.xml       Mon Oct  6 09:23:36 2014 UTC
+++ /haikudepotserver-packagefile/pom.xml       Mon Oct  6 09:25:18 2014 UTC
@@ -5,7 +5,7 @@
         <artifactId>haikudepotserver-parent</artifactId>
         <groupId>org.haikuos</groupId>
         <relativePath>../haikudepotserver-parent</relativePath>
-        <version>1.0.9</version>
+        <version>1.0.10-SNAPSHOT</version>
     </parent>

     <modelVersion>4.0.0</modelVersion>
=======================================
--- /haikudepotserver-parent/pom.xml    Mon Oct  6 09:23:36 2014 UTC
+++ /haikudepotserver-parent/pom.xml    Mon Oct  6 09:25:18 2014 UTC
@@ -5,7 +5,7 @@
     <groupId>org.haikuos</groupId>
     <artifactId>haikudepotserver-parent</artifactId>
     <packaging>pom</packaging>
-    <version>1.0.9</version>
+    <version>1.0.10-SNAPSHOT</version>

     <licenses>
         <license>
=======================================
--- /haikudepotserver-rpm-common/pom.xml        Mon Oct  6 09:23:36 2014 UTC
+++ /haikudepotserver-rpm-common/pom.xml        Mon Oct  6 09:25:18 2014 UTC
@@ -5,7 +5,7 @@
         <artifactId>haikudepotserver-parent</artifactId>
         <groupId>org.haikuos</groupId>
         <relativePath>../haikudepotserver-parent</relativePath>
-        <version>1.0.9</version>
+        <version>1.0.10-SNAPSHOT</version>
     </parent>

     <modelVersion>4.0.0</modelVersion>
=======================================
--- /haikudepotserver-rpm-parent/pom.xml        Mon Oct  6 09:23:36 2014 UTC
+++ /haikudepotserver-rpm-parent/pom.xml        Mon Oct  6 09:25:18 2014 UTC
@@ -5,7 +5,7 @@
         <artifactId>haikudepotserver-parent</artifactId>
         <groupId>org.haikuos</groupId>
         <relativePath>../haikudepotserver-parent</relativePath>
-        <version>1.0.9</version>
+        <version>1.0.10-SNAPSHOT</version>
     </parent>

     <modelVersion>4.0.0</modelVersion>
=======================================
--- /haikudepotserver-rpm-production/pom.xml    Mon Oct  6 09:23:36 2014 UTC
+++ /haikudepotserver-rpm-production/pom.xml    Mon Oct  6 09:25:18 2014 UTC
@@ -5,7 +5,7 @@
         <artifactId>haikudepotserver-rpm-parent</artifactId>
         <groupId>org.haikuos</groupId>
         <relativePath>../haikudepotserver-rpm-parent</relativePath>
-        <version>1.0.9</version>
+        <version>1.0.10-SNAPSHOT</version>
     </parent>

     <modelVersion>4.0.0</modelVersion>
=======================================
--- /haikudepotserver-rpm-test/pom.xml  Mon Oct  6 09:23:36 2014 UTC
+++ /haikudepotserver-rpm-test/pom.xml  Mon Oct  6 09:25:18 2014 UTC
@@ -5,7 +5,7 @@
         <artifactId>haikudepotserver-rpm-parent</artifactId>
         <groupId>org.haikuos</groupId>
         <relativePath>../haikudepotserver-rpm-parent</relativePath>
-        <version>1.0.9</version>
+        <version>1.0.10-SNAPSHOT</version>
     </parent>

     <modelVersion>4.0.0</modelVersion>
=======================================
--- /haikudepotserver-webapp/pom.xml    Mon Oct  6 09:23:36 2014 UTC
+++ /haikudepotserver-webapp/pom.xml    Mon Oct  6 09:25:18 2014 UTC
@@ -5,7 +5,7 @@
         <artifactId>haikudepotserver-parent</artifactId>
         <groupId>org.haikuos</groupId>
         <relativePath>../haikudepotserver-parent</relativePath>
-        <version>1.0.9</version>
+        <version>1.0.10-SNAPSHOT</version>
     </parent>

     <modelVersion>4.0.0</modelVersion>
=======================================
--- /pom.xml    Mon Oct  6 09:23:36 2014 UTC
+++ /pom.xml    Mon Oct  6 09:25:18 2014 UTC
@@ -5,7 +5,7 @@
     <groupId>org.haikuos</groupId>
     <artifactId>haikudepotserver</artifactId>
     <packaging>pom</packaging>
-    <version>1.0.9</version>
+    <version>1.0.10-SNAPSHOT</version>

     <modules>
         <module>haikudepotserver-api1</module>

Other related posts:

  • » [haiku-depot-web] [haiku-depot-web-app] 8 new revisions pushed by haiku.li...@xxxxxxxxx on 2014-10-06 09:25 GMT - haiku-depot-web-app