Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
cloogle.org
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Cloogle
cloogle.org
Commits
596af3ba
Verified
Commit
596af3ba
authored
Oct 03, 2017
by
Camil Staps
🚀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add cloogle.org/tags based on database
parent
d21595dd
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
14 additions
and
5 deletions
+14
-5
.gitignore
.gitignore
+1
-0
.gitmodules
.gitmodules
+3
-0
README.md
README.md
+1
-1
backend/Dockerfile
backend/Dockerfile
+5
-4
backend/cloogle-tags
backend/cloogle-tags
+1
-0
backend/serve
backend/serve
+1
-0
docker-compose.yml
docker-compose.yml
+1
-0
frontend/index.html
frontend/index.html
+1
-0
No files found.
.gitignore
View file @
596af3ba
...
...
@@ -8,3 +8,4 @@ node_modules/
backend/clean-compiler/
db/storage/
cache
frontend/tags
.gitmodules
View file @
596af3ba
...
...
@@ -4,3 +4,6 @@
[submodule "frontend/clean.js"]
path = frontend/clean.js
url = https://github.com/clean-cloogle/clean.js
[submodule "backend/cloogle-tags"]
path = backend/cloogle-tags
url = https://github.com/clean-cloogle/cloogle-tags
README.md
View file @
596af3ba
...
...
@@ -139,7 +139,7 @@ After installing
following commands:
```
bash
touch
cloogle.log
touch
cloogle.log
frontend/tags
sudo
docker-compose up
```
...
...
backend/Dockerfile
View file @
596af3ba
...
...
@@ -6,10 +6,11 @@ COPY . /usr/src/cloogle
WORKDIR
/usr/src/cloogle
RUN
PACKAGES
=
"make subversion ca-certificates gcc git curl patch"
\
&&
apt-get update
\
&&
apt-get update
-qq
\
&&
apt-get
install
-qq
$PACKAGES
--no-install-recommends
\
&&
make distclean
\
&&
make CloogleServer builddb
\
&&
make
-C
cloogle-tags
\
&&
rm
-r
/opt/clean/lib/
*
\
&&
svn checkout https://svn.cs.ru.nl/repos/SoccerFun/src /opt/clean/lib/SoccerFun
\
&&
mv
/opt/clean/lib/SoccerFun/
*
/
*
.[id]cl /opt/clean/lib/SoccerFun
\
...
...
@@ -28,13 +29,13 @@ RUN PACKAGES="make subversion ca-certificates gcc git curl patch" \
&&
curl
-sSL
ftp://ftp.cs.ru.nl/pub/Clean/builds/linux-x64/clean-bundle-complete-linux-x64-latest.tgz |
\
tar
-xz
-C
/opt/clean
--strip-components
=
1
\
&&
make types.json
\
&&
cloogle-tags/cloogletags
-i
types.json
-o
/tags
\
# Cleanup
&& rm -rf \
Cl
eanPrettyPrint
\
CleanTypeUnifier
\
Cl
oogle
\
cloogle-tags
\
Clean\ System\ Files \
clean-compiler \
clean-platform \
*.dcl *.icl \
Dockerfile \
Makefile \
...
...
cloogle-tags
@
d27e800c
Subproject commit d27e800c68cb3c791615ef297854af793ffca09a
backend/serve
View file @
596af3ba
#!/bin/sh
cp
/tags /frontend-tags
mkdir
-p
./cache/lt ./cache/brief
while
:
do
...
...
docker-compose.yml
View file @
596af3ba
...
...
@@ -7,6 +7,7 @@ services:
volumes
:
-
"
./cloogle.log:/usr/src/cloogle/cloogle.log"
-
"
./cache:/usr/src/cloogle/cache"
-
"
./frontend/tags:/frontend-tags"
restart
:
always
cap_add
:
-
IPC_LOCK
...
...
frontend/index.html
View file @
596af3ba
...
...
@@ -122,6 +122,7 @@
<li>
An email to
<a
href=
"mailto:query@cloogle.org"
>
query@cloogle.org
</a>
, with the query in the subject
</li>
</ul>
<p>
You can also browse the
<a
href=
"src"
>
standard libraries
</a>
and the
<a
href=
"doc"
>
documentation
</a>
.
</p>
<p>
There is a
<a
href=
"tags"
>
tagsfile
</a>
of the whole database (assuming
<code>
/opt/clean
</code>
as
<code>
CLEAN_HOME
</code>
).
</p>
</div>
</div>
<div
id=
"contributetext"
class=
"tooltip"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment