dev
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -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
|
||||
@@ -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.
Reference in New Issue
Block a user