Commit 9a9acfaa authored by Göktuğ Kayaalp's avatar Göktuğ Kayaalp

; Archive DONE

parent 9c582cbf
Pipeline #53709623 passed with stage
in 1 minute and 10 seconds
......@@ -51,51 +51,10 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
* Issues
** DONE =ScissorsTest#test_drop_up_to_date= fails on Gitlab CI
Job #121015785 failed for 18588736:
#+BEGIN_EXAMPLE
ScissorsTest#test_drop_up_to_date [/builds/cadadr/scissors/test/test_scissors.rb:96]:
--- expected
+++ actual
@@ -1 +1 @@
-{}
+{"doc/example-pages/example-page.textile"=>#<Pathname:/tmp/d20181115-110-1p16mmq/example-pages/example-page.textile>}
#+END_EXAMPLE
This test passes on my local computer, but fails on Gitlab CI.
Possibly has something to do with the sleep in that test method.
See: https://gitlab.com/cadadr/makas/issues/1
** DONE When copying static files, exception if target does not exist and >= 2 levels
Seemingly [[file:lib/makas.rb::target.delete%20if%20target.exist?][this]]
: Dir.mkdir target_dir if !target_dir.exist?
has to be modified.
#+BEGIN_EXAMPLE
/home/g/co/makas/lib/makas.rb:301:in `mkdir': No such file or directory @ dir_s_mkdir - output/.well-known/acme-challenge (Errno::ENOENT)
from /home/g/co/makas/lib/makas.rb:301:in `block in copy_static_files'
from /home/g/co/makas/lib/makas.rb:299:in `each'
from /home/g/co/makas/lib/makas.rb:299:in `map'
from /home/g/co/makas/lib/makas.rb:299:in `copy_static_files'
from /home/g/co/makas/lib/makas.rb:420:in `build_site'
from /home/g/co/makas/lib/makas.rb:433:in `build_site'
from ./scripts/build.rb:27:in `<main>'
#+END_EXAMPLE
** TODO Support Scss and Sass
Automatically convert, if enabled, S*ss files to CSS files during
build.
** DONE =blog/index.rss.xml= mode shoud be 644, but is 640
+somehow the [[file:Makefile::umask%200022%20&&%20bundle%20exec%20ruby%20build.rb][umask]] does not apply to it.+
Cannot reproduce anymore, after removing generated files from my
blog’s =pages/= tree.
** TODO Allow arbitrarily-deep breadcrumbs.
See [[file:lib/makas.rb::crumbs%20=%20@link.each_filename.to_a]]
......
......@@ -25,3 +25,68 @@ where in a filename =YYYYMMDD_slug_##.textile=, =##= \ge 1 is a two
digit zero-padded number that represents posting order. Absence of
such part can denote zero.
* DONE =ScissorsTest#test_drop_up_to_date= fails on Gitlab CI
:PROPERTIES:
:ARCHIVE_TIME: 2019-03-26 Sal 18:57
:ARCHIVE_FILE: ~/co/makas/Readme.org
:ARCHIVE_OLPATH: Issues
:ARCHIVE_CATEGORY: Makas
:ARCHIVE_TODO: DONE
:END:
Job #121015785 failed for 18588736:
#+BEGIN_EXAMPLE
ScissorsTest#test_drop_up_to_date [/builds/cadadr/scissors/test/test_scissors.rb:96]:
--- expected
+++ actual
@@ -1 +1 @@
-{}
+{"doc/example-pages/example-page.textile"=>#<Pathname:/tmp/d20181115-110-1p16mmq/example-pages/example-page.textile>}
#+END_EXAMPLE
This test passes on my local computer, but fails on Gitlab CI.
Possibly has something to do with the sleep in that test method.
See: https://gitlab.com/cadadr/makas/issues/1
* DONE When copying static files, exception if target does not exist and >= 2 levels
:PROPERTIES:
:ARCHIVE_TIME: 2019-03-26 Sal 18:57
:ARCHIVE_FILE: ~/co/makas/Readme.org
:ARCHIVE_OLPATH: Issues
:ARCHIVE_CATEGORY: Makas
:ARCHIVE_TODO: DONE
:END:
Seemingly [[file:lib/makas.rb::target.delete%20if%20target.exist?][this]]
: Dir.mkdir target_dir if !target_dir.exist?
has to be modified.
#+BEGIN_EXAMPLE
/home/g/co/makas/lib/makas.rb:301:in `mkdir': No such file or directory @ dir_s_mkdir - output/.well-known/acme-challenge (Errno::ENOENT)
from /home/g/co/makas/lib/makas.rb:301:in `block in copy_static_files'
from /home/g/co/makas/lib/makas.rb:299:in `each'
from /home/g/co/makas/lib/makas.rb:299:in `map'
from /home/g/co/makas/lib/makas.rb:299:in `copy_static_files'
from /home/g/co/makas/lib/makas.rb:420:in `build_site'
from /home/g/co/makas/lib/makas.rb:433:in `build_site'
from ./scripts/build.rb:27:in `<main>'
#+END_EXAMPLE
* DONE =blog/index.rss.xml= mode shoud be 644, but is 640
:PROPERTIES:
:ARCHIVE_TIME: 2019-03-26 Sal 18:57
:ARCHIVE_FILE: ~/co/makas/Readme.org
:ARCHIVE_OLPATH: Issues
:ARCHIVE_CATEGORY: Makas
:ARCHIVE_TODO: DONE
:END:
+somehow the [[file:Makefile::umask%200022%20&&%20bundle%20exec%20ruby%20build.rb][umask]] does not apply to it.+
Cannot reproduce anymore, after removing generated files from my
blog’s =pages/= tree.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment