This commit is contained in:
Yuri Kuznetsov
2014-01-16 18:12:22 +02:00
parent 7206e6978c
commit 0fef57563c
32 changed files with 382 additions and 39 deletions
+9
View File
@@ -0,0 +1,9 @@
#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Type=Link
Icon[en_US]=gnome-panel-launcher
URL=/var/www
Name[en_US]=www
Name=www
Icon=gnome-panel-launcher
+19
View File
@@ -0,0 +1,19 @@
git remote add upstream git@github.com:sugarcrm/Mango.git
git checkout -t -b caramel upstream/caramel
git checkout -b caramel
git fetch upstream
git checkout caramel
git merge upstream/caramel
git add --all
git commit -m 'comment'
git push origin caramel
git push -f origin HEAD^:master // remove last push from remote
git reset --soft HEAD^
git stash
git stash apply
git stash drop
+9
View File
@@ -0,0 +1,9 @@
#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Type=Link
Icon[en_US]=gnome-panel-launcher
URL=/var/www
Name[en_US]=www
Name=www
Icon=gnome-panel-launcher
+19
View File
@@ -0,0 +1,19 @@
git remote add upstream git@github.com:sugarcrm/Mango.git
git checkout -t -b caramel upstream/caramel
git checkout -b caramel
git fetch upstream
git checkout caramel
git merge upstream/caramel
git add --all
git commit -m 'comment'
git push origin caramel
git push -f origin HEAD^:master // remove last push from remote
git reset --soft HEAD^
git stash
git stash apply
git stash drop
+9
View File
@@ -0,0 +1,9 @@
#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Type=Link
Icon[en_US]=gnome-panel-launcher
URL=/var/www
Name[en_US]=www
Name=www
Icon=gnome-panel-launcher
+19
View File
@@ -0,0 +1,19 @@
git remote add upstream git@github.com:sugarcrm/Mango.git
git checkout -t -b caramel upstream/caramel
git checkout -b caramel
git fetch upstream
git checkout caramel
git merge upstream/caramel
git add --all
git commit -m 'comment'
git push origin caramel
git push -f origin HEAD^:master // remove last push from remote
git reset --soft HEAD^
git stash
git stash apply
git stash drop
+9
View File
@@ -0,0 +1,9 @@
#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Type=Link
Icon[en_US]=gnome-panel-launcher
URL=/var/www
Name[en_US]=www
Name=www
Icon=gnome-panel-launcher
+19
View File
@@ -0,0 +1,19 @@
git remote add upstream git@github.com:sugarcrm/Mango.git
git checkout -t -b caramel upstream/caramel
git checkout -b caramel
git fetch upstream
git checkout caramel
git merge upstream/caramel
git add --all
git commit -m 'comment'
git push origin caramel
git push -f origin HEAD^:master // remove last push from remote
git reset --soft HEAD^
git stash
git stash apply
git stash drop
+9
View File
@@ -0,0 +1,9 @@
#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Type=Link
Icon[en_US]=gnome-panel-launcher
URL=/var/www
Name[en_US]=www
Name=www
Icon=gnome-panel-launcher
+19
View File
@@ -0,0 +1,19 @@
git remote add upstream git@github.com:sugarcrm/Mango.git
git checkout -t -b caramel upstream/caramel
git checkout -b caramel
git fetch upstream
git checkout caramel
git merge upstream/caramel
git add --all
git commit -m 'comment'
git push origin caramel
git push -f origin HEAD^:master // remove last push from remote
git reset --soft HEAD^
git stash
git stash apply
git stash drop
+9
View File
@@ -0,0 +1,9 @@
#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Type=Link
Icon[en_US]=gnome-panel-launcher
URL=/var/www
Name[en_US]=www
Name=www
Icon=gnome-panel-launcher
+9
View File
@@ -0,0 +1,9 @@
#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Type=Link
Icon[en_US]=gnome-panel-launcher
URL=/var/www
Name[en_US]=www
Name=www
Icon=gnome-panel-launcher
+9
View File
@@ -0,0 +1,9 @@
#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Type=Link
Icon[en_US]=gnome-panel-launcher
URL=/var/www
Name[en_US]=www
Name=www
Icon=gnome-panel-launcher
+19
View File
@@ -0,0 +1,19 @@
git remote add upstream git@github.com:sugarcrm/Mango.git
git checkout -t -b caramel upstream/caramel
git checkout -b caramel
git fetch upstream
git checkout caramel
git merge upstream/caramel
git add --all
git commit -m 'comment'
git push origin caramel
git push -f origin HEAD^:master // remove last push from remote
git reset --soft HEAD^
git stash
git stash apply
git stash drop
+9
View File
@@ -0,0 +1,9 @@
#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Type=Link
Icon[en_US]=gnome-panel-launcher
URL=/var/www
Name[en_US]=www
Name=www
Icon=gnome-panel-launcher
+38
View File
@@ -0,0 +1,38 @@
<?php
class cacheExampe
{
private $espoMetadata;
public function getOrmMetadata()
{
if (!empty($this->espoMetadata)) {
return $this->espoMetadata;
}
$espoMetadataFile = Util::concatPath($this->getConfig()->get('cachePath'), 'ormMetadata.php');
if (!file_exists($espoMetadataFile) || !$this->getConfig()->get('useCache')) {
$this->getConverter()->process();
}
$this->espoMetadata = $this->getFileManager()->getContent($espoMetadataFile);
return $this->espoMetadata;
}
public function setOrmMetadata(array $espoMetadata)
{
$result = $this->getFileManager()->setContentPHP($espoMetadata, $this->getConfig()->get('cachePath'), 'ormMetadata.php');
if ($result == false) {
$GLOBALS['log']->add('EXCEPTION', 'Metadata::setOrmMetadata() - Cannot save ormMetadata to a file');
throw new \Espo\Core\Exceptions\Error();
}
$this->espoMetadata = $espoMetadata;
return $result;
}
}
+9
View File
@@ -0,0 +1,9 @@
#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Type=Link
Icon[en_US]=gnome-panel-launcher
URL=/var/www
Name[en_US]=www
Name=www
Icon=gnome-panel-launcher
+19
View File
@@ -0,0 +1,19 @@
git remote add upstream git@github.com:sugarcrm/Mango.git
git checkout -t -b caramel upstream/caramel
git checkout -b caramel
git fetch upstream
git checkout caramel
git merge upstream/caramel
git add --all
git commit -m 'comment'
git push origin caramel
git push -f origin HEAD^:master // remove last push from remote
git reset --soft HEAD^
git stash
git stash apply
git stash drop
Binary file not shown.