Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

Revision a190f270da39746f098672680944a4e33da8044b authored by LuisGC on 18 February 2018, 19:37:23 UTC, committed by LuisGC on 18 February 2018, 19:37:23 UTC
Merge branch 'master' of https://github.com/LuisGC/blog into hugo
2 parent s a1a386d + 0d45727
  • Files
  • Changes
  • 2011147
  • /
  • circle.yml
Raw File Download

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • revision
  • directory
  • content
revision badge
swh:1:rev:a190f270da39746f098672680944a4e33da8044b
directory badge
swh:1:dir:2011147e2eb174159b88b1dae4d318ee08a8618b
content badge
swh:1:cnt:4650cff3c2aeee3de27b65741c34f514ebe3c735

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • revision
  • directory
  • content
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
circle.yml
machine:
  pre:
    - git config --global user.name "CircleCI"
    - git config --global user.email "circleci@circleci.com"

dependencies:
  pre:
    - go get -v github.com/gohugoio/hugo

test:
  override:
      - hugo check

deployment:
  master:
    branch:
      - master
    commands:
      - rm -rf docs
      - hugo -d docs -t hugo-future-imperfect
      - find docs -type f -exec sed -i 's/src="\/img/src="\/blog\/img/g' {} +
      - find docs -type f -exec sed -i 's/src=\"\/img/src=\"\/blog\/img/g' {} +
      - find docs -type f -exec sed -i 's/href="\/css/src="\/blog\/css/g' {} +
      - find docs -type f -exec sed -i 's/href=\"\/css/src=\"\/blog\/css/g' {} +
      - find docs -type f -exec sed -i 's/src="\/js/src="\/blog\/js/g' {} +
      - find docs -type f -exec sed -i 's/src=\"\/js/src=\"\/blog\/js/g' {} +
      - git add docs
      - git commit --message "Generated site on $(date) [ci skip]"
      - git push origin master
The diff you're trying to view is too large. Only the first 1000 changed files have been loaded.
Showing with 0 additions and 0 deletions (0 / 0 diffs computed)
swh spinner

Computing file changes ...

back to top

Software Heritage — Copyright (C) 2015–2026, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Content policy— Contact— JavaScript license information— Web API